vanilla-extract-css/vanilla-extract
Zero-runtime Stylesheets-in-TypeScript observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 96
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 1986
- days_rel: 6
- days_push: 27
- n_releases_24m: 182
Adoption not part of the score
10413 stars · 356 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
vanilla-extract is a zero-runtime CSS-in-TypeScript library that lets you write locally scoped styles, CSS variables, and themes in .css.ts files, generating static CSS at build time. It is framework-agnostic with integrations for Vite, webpack, esbuild, Next.js, and other bundlers, and offers optional packages like Sprinkles (atomic CSS) and Recipes (multi-variant styles).
Use cases
- write type-safe CSS in TypeScript with zero runtime overhead
- generate static CSS files at build time instead of CSS-in-JS
- create scoped CSS variables and type-safe theme contracts
- build a custom atomic CSS utility system like Tailwind
- create multi-variant component styles with recipes
- avoid runtime style generation costs in a React or framework-agnostic app
When to choose
- you want CSS Modules-like scoping plus type safety and scoped CSS variables
- you need zero-runtime styles for performance-sensitive frontends
- you want a type-safe theming/token system with multiple simultaneous themes
- you use Vite, webpack, esbuild, Next.js, or another supported bundler
When to avoid
- you want fully dynamic runtime styling based on arbitrary user input
- your project has no bundler or TypeScript build step
- you prefer plain CSS or a preprocessor like Sass without tooling setup
- you need a single-file drop-in solution without build configuration
Facets
library · maturity stable
css-framework frontend-framework build-tool ui-components theme frontend web-development web-design developer-tools cross-platform browser css-in-typescript zero-runtime css-modules atomic-css theming type-safe-css static-css-generation design-tokens nodejs web-server
10 sources
- readme: https://github.com/vanilla-extract-css/vanilla-extract · fetched 2026-08-28 · ab67bf9e9aea
- homepage: https://vanilla-extract.style · fetched 2026-08-29 · 47c4e7471740
- site_page: https://vanilla-extract.style/documentation/getting-started · fetched 2026-08-29 · 0cf2bd2b7166
- site_page: https://vanilla-extract.style/documentation/packages/sprinkles · fetched 2026-08-29 · 6636b8628499
- site_page: https://vanilla-extract.style/documentation/packages/recipes · fetched 2026-08-29 · a01e42134480
- site_page: https://vanilla-extract.style/documentation/styling · fetched 2026-08-29 · 5e2618970607
- site_page: https://vanilla-extract.style/documentation/theming · fetched 2026-08-29 · 127cd0876594
- site_page: https://vanilla-extract.style/documentation/style-composition · fetched 2026-08-29 · cb8fb6950035
- site_page: https://vanilla-extract.style/documentation/test-environments · fetched 2026-08-29 · fed27ae9fb8e
- site_page: https://vanilla-extract.style/documentation/api/style · fetched 2026-08-29 · f891fc0d6f78
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vanilla-extract-css/vanilla-extract | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="vanilla-extract-css/vanilla-extract")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem