Package
class-variance-authority
Class Variance Authority 🧬
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 48m
- +533% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 1 year ago
- v0.7.1
- GitHub stars
- 6.9k
- 139 forks
- Open issues / PRs
- 0 / 0
- Contributors
- 30
- Commits, last 52 weeks
- 95
Downloads
Last week 2026-09-15 to 2026-09-21
47,979,046 downloads last week, 229,058,397 in the last month. The 12-month change of +533% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 018 in total
- Latest version
- 0.7.1, 26 Nov 20241 year ago
- First published
- 26 Jan 2022
- Last push to GitHub
- 22 Sept 20262 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 95
- Dependents on npm
- 13,661
Major versions
- v0 first release 0.0.0, 26 Jan 2022
Recent releases
| Version | Published |
|---|---|
| 0.7.1 | 26 Nov 2024 |
| 0.7.0 | 17 Jul 2023 |
| 0.6.1 | 26 Jun 2023 |
| 0.6.0 | 27 Apr 2023 |
| 0.5.3 | 26 Apr 2023 |
| 0.5.2 | 11 Apr 2023 |
| 0.5.1 | 2 Apr 2023 |
| 0.5.0 | 2 Apr 2023 |
| 0.4.0 | 5 Dec 2022 |
| 0.3.0 | 7 Nov 2022 |
| 0.2.4 | 14 Oct 2022 |
| 0.2.3 | 15 Jul 2022 |
| 0.2.2 | 12 Jun 2022 |
| 0.2.1 | 6 Apr 2022 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 22 kB
- Dependencies (1)
clsx
npm install class-variance-authorityCDN
jsDelivr: 66.8k requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/class-variance-authority@0.7.1/ - unpkg
https://unpkg.com/class-variance-authority@0.7.1/ - esm.sh
https://esm.sh/class-variance-authority@0.7.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| tailwind-variants | 2.8m | - | 1 month ago | ESM + CommonJS | - |
Indexability: Indexed.