Build accessible, animated modal dialogs in Rails using Stimulus.js and Hotwire — no third-party libraries required.
Headless UI with StimulusJS and an Outlet
Build a headless UI toggle switch in Rails using a Stimulus outlet to coordinate state between two separate controllers.
Animate Filtering Data in HOTWire
Progressively enhance our filtered search using Stimulus and Turbo
Filtering Data in HOTWire
Filter a list of records in real time with Hotwire Turbo Frames and Stimulus.js — no full page reloads required.
HOTWire & Turbo Tutorial: Animated Deletions and Insertions
With the addition of the new Todo form appearing at the bottom of the Todos, and the delete action removing a Todo, we have a very functional app. It would be nice if those additions and removals had a little animation to emphasize what’s happening on the page. If there was a long list, we might miss the deletion, especially if a network request caused a delay in the removal of the Todo. We can hook into Turbo streams, and run some animations on these actions to make them appear and disappear.
HOTWire: Where do I store my HTML state?
Explore your options for managing HTML state in a Hotwire app — from data attributes to Stimulus values to Turbo frames.
HOTWire: Considering Morphing or Turbo Frames
With the new morphing features in Turbo 8, you now need to decide on when to use Turbo streams or Turbo frames instead of full page refreshing. Thankfully, all three techniques work together.
Stimulus Tutorial: Moving & Animating Todos
Add smooth CSS animations and drag-to-reorder to a Stimulus-powered todo list for a polished, interactive experience.
HOTWire Tutorial: Listening for changes over ActionCable
Listen for real-time updates over ActionCable in a Hotwire app and stream them directly into the page with Turbo Streams.
Hotwire Tutorial: How Do I Drag and Drop Items in a List?
Implement drag-and-drop list reordering in a Hotwire Rails app using Stimulus.js and the Sortable library.