heroui-inc/tailwind-variants

🦄 Tailwindcss first-class variant API

View on GitHub ↗Jump to charts ↓

heroui-inc/tailwind-variants has 3k+ stars and 90+ forks on GitHub, is written in TypeScript, and was last pushed on Oct 13, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 56 minutes ago
Added to GitGenius on September 21st, 2026
Created on January 12th, 2023
Open Issues & Pull Requests: 5 (+0)
GitHub issues: Enabled
Number of forks: 90
Total Stargazers: 3,319 (+0)
Total Subscribers: 11 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 16.2 days
Mean response time: 72.9 days
90th percentile: 234.1 days
Tracked items: 69

Maintainer activity

2 people did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 18, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits. How this is counted.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 3
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 159 days
Stale 30+ days: 3
Stale 90+ days: 2

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (53)
  • need info (4)
  • cant reproduce (2)
  • duplicate (1)
  • responsive (1)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Tailwind Variants is a library that provides a first-class variant API for Tailwind CSS.

The library solves the problem of managing complex conditional styling in Tailwind CSS projects. Rather than writing lengthy conditional className strings or maintaining separate style objects, Tailwind Variants lets developers define reusable component variants declaratively. The approach works by creating a variant system that integrates directly with Tailwind's utility-first paradigm, allowing developers to compose multiple style variations together in a structured way.

Developers building component libraries or applications with complex, conditional styling patterns should consider this tool. It suits projects where components need multiple visual states—such as different sizes, colors, or interactive states—and where those variations need to be reused across many components. The library is particularly valuable when working with TypeScript, as it provides type safety for variant definitions and their combinations.

The project shows consistent maintenance with regular updates and active engagement with issues and pull requests. Development activity demonstrates responsiveness to user feedback and a commitment to keeping the library compatible with current Tailwind CSS versions. The maintainers actively address bug reports and feature requests, indicating an ongoing investment in the tool's stability and usability.