Ross ROSS = Recommend OSS · open-source software intelligence for agents

heroui-inc/tailwind-variants

🦄 Tailwindcss first-class variant API observed · 2026-08-28

github.com/heroui-inc/tailwind-variants · homepage · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

96/100

  • Activity 98
  • Release rhythm 96
  • Longevity 94
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 14
  • age_days: 1329
  • days_rel: 30
  • days_push: 15
  • n_releases_24m: 14

Full methodology

Adoption not part of the score

3292 stars · 88 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Tailwind Variants is a TypeScript library providing a first-class variant API on top of Tailwind CSS, letting you define typed component recipes with base styles, variants, slots, compound rules, and defaults. It includes built-in Tailwind class conflict resolution, is framework-agnostic, and offers a lite build for smaller bundles.

Use cases

  • manage tailwind css variants for ui components
  • build a typed design system with tailwind
  • merge conflicting tailwind classes automatically
  • style multi-part components with slots
  • create compound variant styles in tailwind
  • replace cva with a fully typed variant api

When to choose

  • you use Tailwind CSS and want Stitches-style variants with full TypeScript inference
  • you need slots and compound variants for multi-part components
  • you want built-in class conflict resolution without installing tailwind-merge separately
  • you need a framework-agnostic styling utility that works with React, Vue, Svelte, or plain JS

When to avoid

  • you don't use Tailwind CSS for styling
  • you need responsive variant generation with Tailwind v4, which no longer supports config transforms
  • you want a full CSS-in-JS solution with runtime style objects rather than class strings
  • bundle size is critical and you can't accept even the lite build's overhead

Facets

library · maturity active

ui-components css-framework state-management frontend web-development web-design developer-tools browser cross-platform tailwindcss variants design-systems class-merging typescript component-recipes slots framework-agnostic nodejs web-server

5 sources

Member repositories

RepositoryRoleHealth v2
heroui-inc/tailwind-variantsmain96

For agents

markdown · JSON · MCP: product_card(name="heroui-inc/tailwind-variants")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem