Skip to content
JS
Package

tailwind-variants

🦄 Tailwindcss first-class variant API

v3.3.1, 3 Aug 2026MITESM + CommonJSTypes: BundledCSS-in-JS and styling
$ npm install tailwind-variants

Key numbers

As of 25 Sept 2026
Weekly downloads
2.8m
+204% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 month ago
v3.3.1
GitHub stars
3.3k
89 forks
Open issues / PRs
3 / 2
Contributors
-
Commits, last 52 weeks
18

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3m4mSept 2025Mar 2026Sept 2026High 3.8m (25 Aug 2026)Low 698.1k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,780,332 downloads last week, 13,746,750 in the last month. The 12-month change of +204% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
567 in total
Latest version
3.3.1, 3 Aug 20261 month ago
First published
12 Jan 2023
Last push to GitHub
10 Sept 202615 days before the snapshot
Repository archived
No
Open issues
3
Open pull requests
2
Commits, last 52 weeks
18
Dependents on npm
-

Major versions

  1. v3 first release 3.0.0, 24 Aug 2025
  2. v2 first release 2.0.0, 27 Jul 2025
  3. v1 first release 1.0.0, 8 Mar 2025
  4. v0 first release 0.0.1, 12 Jan 2023

Recent releases

VersionPublished
3.3.13 Aug 2026
3.3.026 Jul 2026
3.2.222 Nov 2025
3.2.122 Nov 2025
3.2.022 Nov 2025
3.1.18 Sept 2025
3.1.025 Aug 2025
3.0.024 Aug 2025
2.1.031 Jul 2025
2.0.128 Jul 2025
2.0.027 Jul 2025
1.0.08 Mar 2025
0.3.118 Jan 2025
0.3.012 Nov 2024
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=16.9.x
Runtimes
-
Unpacked size (npm)
324 kB
Dependencies (0)
None
Peer dependencies (2)
tailwindcsstailwind-merge
npm install tailwind-variants
  • jsDelivrhttps://cdn.jsdelivr.net/npm/tailwind-variants@3.3.1/
  • unpkghttps://unpkg.com/tailwind-variants@3.3.1/
  • esm.shhttps://esm.sh/tailwind-variants@3.3.1
PackageWeekly downloadsGzipLast releaseModuleComparison
class-variance-authority48m-1 year agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.