Building UI with Rails 7 + Tailwind

This page summarizes the projects mentioned and recommended in the original post on /r/rails

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • tailwindcss-stimulus-components

    A set of StimulusJS components for TailwindCSS apps similar to Bootstrap JS components.

    If you don't want to pay for it, you can build your own, or use components other people have created, like tailwindcss-stimulus-components.

  • simple_form_tailwind_css

    Tailwind components for Simple Form

    The problem I have is the front end. I'm using Rails 7 with Tailwind and I'm hitting all sorts of problems. I don't need anything fancy, basically a form with few text inputs, dropdowns (single and multi-select), and numeric inputs. How do people implement these components? It seems like barely any gems support stimulus/tailwind, for example, Simple-Forms. I've found the workaround repo, but it seems more like a temp fix rather than a real solution.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • view_component-form

    Rails FormBuilder for ViewComponent

    In the past I have used simple_form but after a lot of projects I have switched to plain FormBuilder. It became easier to styling every input without headacle. For reusing purpose I’m in flavor of view-component_form gem (it only wraps every input type in a view_component).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts