Package
twin.macro
Twin blends the magic of Tailwind with the flexibility of css-in-js
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/twin.macro@3.4.1/ - unpkg
https://unpkg.com/twin.macro@3.4.1/ - esm.sh
https://esm.sh/twin.macro@3.4.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| tailwind-styled-components | 17.4k | - | 4 years ago | ESM + CommonJS | - |
| @xstyled/system | 30.1k | - | 4 months ago | ESM + CommonJS | - |
| @xstyled/styled-components | 24.1k | - | 4 months ago | ESM + CommonJS | - |
| @xstyled/emotion | 5.1k | - | 4 months ago | ESM + CommonJS | - |
| tw-to-css | 237.9k | - | - | ESM + CommonJS | - |
| @compiled/react | 555.1k | - | 30 days ago | ESM + CommonJS | - |
| @material-tailwind/react | 59.6k | - | 2 years ago | CommonJS | - |
| @emotion/babel-plugin | 15.1m | - | 1 year ago | ESM + CommonJS | - |
Indexability: Indexed.