Tips and Tricks to Improve your Hotwire (Turbo and Stimulus) Knowledge

Improve your UI and UX of your Rails apps with the articles focusing on Tailwind CSS, Stimulus and Hotwire.

  1. Custom Confirm Dialog For Turbo and Rails
  2. How to Create a Stimulus Toggle Class Controller
  3. How to Add Disabled State to Buttons with Turbo & Tailwind CSS
  4. ViewComponent over Turbo Stream Broadcasts
  5. Easy Peasy Form Validation Errors with Rails Turbo Frames (modals)
  6. How to Toggle Multiple CSS Classes with Stimulus
  7. How to Properly Structure Stimulus Controller
  8. Flash Messages (notifications) in Rails Apps
  9. Conditionally Add CSS Classes in Your Stimulus Controllers
  10. How to add a skeleton UI to Rails with Turbo