Skip to content

shadcn/ui on Rails

Themed shadcn/ui-style components for Ruby on Rails that you copy into your app, not a dependency.

shadcn-on-rails.avi.nyc

shadcn/ui on Rails website screenshot
Added
GitHub stars
894
License
MIT
Price
Free

About

About shadcn/ui on Rails

shadcn/ui on Rails provides frontend components for Ruby on Rails apps, based on shadcn/ui and styled with Tailwind CSS. The README is clear that it is not a component library in the dependency sense: you pick components, copy the code into your project and edit it. The demo site shows dashboard cards, a sign-up form, a payment method form and notification settings.

Installation steps are in the repo and on the demo site. The code is MIT licensed with about 890 stars. The author states the project is not under active development, because shadcn/ui moved too fast to keep up, and invites someone to take it over. Use it as a reference for building your own Rails components.

shadcn/ui on Rails features

6 features

  • Copy-paste Rails components
  • Themed after shadcn/ui
  • Tailwind CSS watcher in development
  • Dashboard and form examples
  • Demo site with documentation
  • MIT license

What you can build with shadcn/ui on Rails

3 use cases

  • Borrowing a component pattern for a Rails view
  • Building your own Rails component library
  • Studying how shadcn/ui maps to ERB views

1 link

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What shadcn/ui on Rails is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro