Skip to content
JS
Package

class-variance-authority

Class Variance Authority 🧬

v0.7.1, 26 Nov 2024Apache-2.0ESM + CommonJSTypes: BundledCSS-in-JS and styling
$ npm install 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
020m40m60m80mSept 2025Mar 2026Sept 2026High 64.8m (18 Aug 2026)Low 7m (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.

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

  1. v0 first release 0.0.0, 26 Jan 2022

Recent releases

VersionPublished
0.7.126 Nov 2024
0.7.017 Jul 2023
0.6.126 Jun 2023
0.6.027 Apr 2023
0.5.326 Apr 2023
0.5.211 Apr 2023
0.5.12 Apr 2023
0.5.02 Apr 2023
0.4.05 Dec 2022
0.3.07 Nov 2022
0.2.414 Oct 2022
0.2.315 Jul 2022
0.2.212 Jun 2022
0.2.16 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-authority

CDN

jsDelivr: 66.8k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/class-variance-authority@0.7.1/
  • unpkghttps://unpkg.com/class-variance-authority@0.7.1/
  • esm.shhttps://esm.sh/class-variance-authority@0.7.1
PackageWeekly downloadsGzipLast releaseModuleComparison
tailwind-variants2.8m-1 month agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.