Maquina Components is a new UI component library for Rails applications that provides production-ready ERB partials styled with Tailwind CSS 4.0. The library offers 12 composable components (cards, tables, forms, navigation elements) extracted from real applications, following shadcn/ui theming conventions with built-in light/dark mode support. Unlike alternatives like ViewComponent or Phlex, it uses standard ERB partials and minimal JavaScript, requiring no new paradigms. Components are intentionally small and composable, designed to be building blocks for application-specific components rather than a complete design system. The library is MIT licensed and available via bundler.
Table of contents
Why This ExistsThe Technical ChoicesWhat’s IncludedComposability Over ConvenienceWhat I Didn’t BuildThe Rails Frontend LandscapeAlternativesGetting StartedOpen SourceSort: