# rails/tailwindcss-rails

Repository: https://github.com/rails/tailwindcss-rails
Canonical: https://ross.abutalabs.com/products/tailwindcss-rails
Language: Ruby
License: MIT
License Family: permissive
Last push: 2026-08-16T14:37:03+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 89, longevity 100
- inputs: {"age_days": 2062, "days_push": 17, "days_rel": 77, "gap_med": 11, "n_releases_24m": 22}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1588, forks 190 (observed 2026-08-28T04:05:08.047835+00:00)

## What it is
A Ruby gem that integrates the Tailwind CSS utility-first framework into Rails applications, bundling the standalone tailwindcss executable and providing Rails tasks for building and watching styles. It supports Rails 7+ installation generators, live rebuilds, production asset precompilation, and Tailwind v4 upgrades.

## Use cases
- add tailwind css to a rails app
- build tailwind styles in rails asset pipeline
- watch and rebuild css during rails development
- precompile tailwind css for production in rails
- upgrade rails app from tailwind v3 to v4
- use tailwind with rails engines

## When to choose
- you're building a Rails 7+ app and want Tailwind CSS without a Node toolchain
- you want an officially maintained Rails integration with install generators and rake tasks
- you need live CSS rebuilding during development and simple production precompilation

## When to avoid
- you're not using Ruby on Rails
- you need heavy customization via PostCSS plugins or a full Node-based build pipeline
- you use a different CSS framework or prefer plain CSS/Sass

## Facets
- artifact type: library
- maturity: active
- function: css-framework, build-tool, cli
- domain: web-development, frontend, developer-tools
- platform: ruby, cross-platform
- tags: tailwindcss, rails, gem, asset-pipeline, ruby-on-rails, nodejs

## Member repositories
- rails/tailwindcss-rails (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:08.047835+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:55:04.645360+00:00, confidence not recorded.
  - readme: https://github.com/rails/tailwindcss-rails (fetched 2026-08-28T04:05:08.047835+00:00, sha 1058a489c404)
- Data as of 2026-08-30T08:39:29.467469+00:00.
