Create a macOS-inspired stack UI with Stimulus and Tailwind CSS | Rails Designer
08-Aug-2025 6
The other day I accidentally enabled the “fan” option in my dock’s application folder (I have it normally set to just “list”). But this incident inspired me to recreate the effect in Rails with a simple Stimulus controller and lots of Tailwind CSS goodies.
(side-note: an early reader of this article mentioned that Hey uses a similar effect for their “trays”)
It made for a good case to show how much can be done with (Tailwind-flavored) CSS. And while this article uses Tailwind CSS, it can be easily replicated with just CSS. 💡
This is the component I am aiming for:.
Create a macOS-inspired stack UI with Stimulus and Tailwind CSS | Rails Designer #ruby #rubydeveloper #rubyonrails #Create #macOS-inspired #stack #Stimulus #Tailwind #Rails #Designer #css #stimulus #tailwind https://rubyonrails.ba/link/create-a-macos-inspired-stack-ui-with-stimulus-and-tailwind-css-rails-designer