styletron/styletron
:zap: Toolkit for component-oriented styling observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- 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: n/a
- age_days: 3807
- days_rel: n/a
- days_push: 985
- n_releases_24m: 0
Adoption not part of the score
3309 stars · 93 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Styletron is a universal CSS-in-JS toolkit for component-oriented styling, best known for its atomic CSS engine that generates declaration-level deduplicated styles. It provides React bindings (styled components and hooks) but can also be used with other frameworks or plain JavaScript.
Use cases
- style react components with css-in-js
- generate atomic css with declaration-level deduplication
- server-side render critical css for react apps
- create styled components without webpack loaders or babel plugins
- reduce css bundle size in a react application
- use dynamic prop-driven styling in react components
When to choose
- you want high-performance atomic CSS with minimal stylesheet footprint
- you need SSR-friendly critical CSS extraction with cache hydration
- you prefer styling via typed JavaScript objects with no build tooling
- you want a small, framework-agnostic styling engine you can integrate anywhere
When to avoid
- you need stable class names for e2e test selectors with the atomic engine
- you need @supports or shorthand/longhand mixing, which only the monolithic engine supports
- you want a library with frequent releases and active development
- you need full TypeScript definitions for the monolithic engine
Facets
library · maturity maintenance
css-framework ui-components frontend-framework ssr web-development frontend web-design browser cross-platform css-in-js atomic-css react styled-components typescript styletron nodejs web-server
4 sources
- readme: https://github.com/styletron/styletron · fetched 2026-08-28 · 1519f214885e
- homepage: https://www.styletron.org · fetched 2026-08-29 · 70566711ba3f
- site_page: https://styletron.org/getting-started · fetched 2026-08-29 · d834dc244207
- site_page: https://www.styletron.org/v3 · fetched 2026-08-29 · b2423c954f30
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| styletron/styletron | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="styletron/styletron")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem