[For Ruby on Rails] I built a library of 120+ Rails components with Tailwind CSS & Stimulus. Curious to see what you think of them and what you want me to build next

Introducing Rails Blocks: A Comprehensive Collection of Over 120 Rails UI Components Built with Tailwind CSS and Stimulus

Hello, readers! Today, I am excited to share a project that I believe will make a significant impact on the Rails developer community. Over the past year, I have been diligently creating a library of user interface components tailored specifically for Ruby on Rails applications. What initially began as internal tools for my own projects and team has now evolved into a versatile resource ready to benefit the wider Rails ecosystem.

The Inspiration Behind Rails Blocks

Like many developers, I have admired the rich ecosystems of component libraries available for frontend frameworks such as React and Vue. Monthly, new innovative components are released, inspiring developers to enhance their user interfaces effortlessly. I found myself wishing similar options existed for Rails, which led me to develop my own collection. Starting small with modals and dropdowns, I gradually expanded this library to encompass a broad array of reusable UI elements, aiming to match the richness found in modern JavaScript frameworks.

What is Rails Blocks?

Rails Blocks is a curated suite featuring over 120 UI components meticulously designed for Rails applications. Key features include:

  • Stimulus-powered interactions for seamless frontend behavior
  • Styling with Tailwind CSS version 4, ensuring modern and customizable aesthetics
  • Simple, copy-and-paste installation process for easy integration
  • Proven reliability, having been utilized in production environments such as schoolmaker.com and sponsorship.so

The library is now in its first major release, version 1, and I am eager to gather feedback from the community. Whether youโ€™re interested in new component ideas or improvements to existing ones, your input is invaluable for future development.

A Community-Driven Project

Rails Blocks includes both free and premium components, balancing sustainability with accessibility for developers at all levels. My goal is to provide a powerful, open foundation while offering advanced features through a Pro tier for those who need more.

I invite you to explore Rails Blocks and share your thoughts. Your suggestions on what components you’d like me to build next can help shape this project into an even more invaluable resource for Rails developers everywhere.

Visit Rails Blocks today and be part of this journey to elevate Rails UI development.


Leave a Reply

Your email address will not be published. Required fields are marked *