Acknowledgements
Credits to the people and open-source projects that inspired and shaped Tailwind Variants.
Tailwind Variants is built by the HeroUI team and inspired by the variant-system work that came before it.
Stitches
Stitches by Modulz pioneered the variants API pattern that Tailwind Variants builds on.
CVA
CVA by Joe Bell is an excellent tool for type-safe Tailwind variants. Tailwind Variants started as an extension of that idea — adding slots, built-in merge, and design-system composition.
If you only need a lightweight variant helper, we recommend CVA. See the Comparison guide for a feature breakdown.
Conflict resolution
Merge logic in the default build draws on ideas and MIT-licensed work from:
- tailwind-merge — Tailwind class conflict resolution
- clsx — conditional class concatenation
- cnfast — fast
cnutilities
Community
Thanks to everyone who filed issues, opened PRs, and shared feedback on GitHub and Discord.