H1 Rails (HTML First Rails) is a boilerplate for building slick, polished web apps.
- Low Floor, High Ceiling: Extremely easy for beginners to get started with minimal setup and simple patterns based on the languages you already know (html, css, js).
- Batteries Included: For the most common UI & UX patterns & challenges (modals, tabs, toasts, tooltips etc.).
- No Build: By default, we store CSS and javascript libraries in the
/public
folder. This removes an entire category of debugging & deployment complexity.
Who It’s For
- Rails Developers who want even more simplicity, and/or more batteries included (solutions to common UI & UX challenges).
- Non Rails Developers who want a super simple way to build web apps without getting bogged down in some of the Rails areas with a high learning curve (Hotwire, Stimulus etc).
Enhancements & Simplifications
- Out-of-the-box support for common UI patterns like modals, toasts, tooltips, forms and other UI patterns, powered primarily by Base Styles.
Turbo HTMX: We use HTMX instead of Turbo, for several reasons. We’ve several best practices docs for how to achieve common UX patterns using HTMX (multi step forms, type to search, etc.)
What’s Inside
- Clean, consistent styling for all form input types. Read More
- Support for multi-selects tag select, type to search. Read More
- Code examples for commonly used patterns e.g nested relationships. Read More
class MyController
before_action :renders_in_modal, only: [:edit]
end
More on Modals →
FAQs
Responses are generated using AI and may contain mistakes.