Skip to content
JS
Package

twin.macro

Twin blends the magic of Tailwind with the flexibility of css-in-js

v3.4.1, 19 Jan 2024MITCommonJSTypes: BundledCSS-in-JS and styling
$ npm install twin.macro

Key numbers

As of 25 Sept 2026
Weekly downloads
47.2k
-4% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
6
Direct, from package.json
Last release
2 years ago
v3.4.1
GitHub stars
8k
179 forks
Open issues / PRs
17 / 3
Contributors
-
Commits, last 52 weeks
3

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60k80kSept 2025Mar 2026Sept 2026High 73.3k (26 May 2026)Low 26.4k (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,206 downloads last week, 226,813 in the last month. The 12-month change of -4% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.4.1, 19 Jan 20242 years ago
First published
-
Last push to GitHub
22 Mar 2026187 days before the snapshot
Repository archived
No
Open issues
17
Open pull requests
3
Commits, last 52 weeks
3
Dependents on npm
148

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=16.14.0
Runtimes
-
Unpacked size (npm)
135 kB
Dependencies (6)
chalklodash.getlodash.merge@babel/templatebabel-plugin-macrospostcss-selector-parser
Peer dependencies (1)
tailwindcss
npm install twin.macro
  • jsDelivrhttps://cdn.jsdelivr.net/npm/twin.macro@3.4.1/
  • unpkghttps://unpkg.com/twin.macro@3.4.1/
  • esm.shhttps://esm.sh/twin.macro@3.4.1
PackageWeekly downloadsGzipLast releaseModuleComparison
tailwind-styled-components17.4k-4 years agoESM + CommonJS-
@xstyled/system30.1k-4 months agoESM + CommonJS-
@xstyled/styled-components24.1k-4 months agoESM + CommonJS-
@xstyled/emotion5.1k-4 months agoESM + CommonJS-
tw-to-css237.9k--ESM + CommonJS-
@compiled/react555.1k-30 days agoESM + CommonJS-
@material-tailwind/react59.6k-2 years agoCommonJS-
@emotion/babel-plugin15.1m-1 year agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.