typestyle/typestyle
Making CSS Typesafe 🌹 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: 3611
- days_rel: n/a
- days_push: 1166
- n_releases_24m: 0
Adoption not part of the score
3060 stars · 87 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
TypeStyle is a small CSS-in-JS library that lets you write type-safe CSS as TypeScript objects, generating class names without any build tooling or AST transforms. It works with any frontend framework and supports pseudo classes, animations, media queries, and server-side rendering.
Use cases
- write type-safe css in typescript
- css in js without webpack config
- generate css class names from style objects
- use styles with react or angular
- server side rendered styled components
When to choose
- you want a tiny, zero-config CSS-in-JS solution with strong TypeScript autocomplete
- your project avoids custom build transforms or module loaders
- you need framework-agnostic styling
When to avoid
- you prefer modern CSS-in-JS alternatives with larger ecosystems like Emotion or styled-components
- you want plain CSS files or CSS modules
- you need a library under active development - releases have slowed
Facets
library · maturity maintenance
css-framework ui-components ssr frontend web-development browser cross-platform css-in-js typescript type-safety zero-config framework-agnostic nodejs
3 sources
- readme: https://github.com/typestyle/typestyle · fetched 2026-08-28 · bdc3086c615f
- homepage: https://typestyle.github.io · fetched 2026-08-29 · 2366e47f3e3e
- registry_npm: https://registry.npmjs.org/typestyle · fetched 2026-08-29 · 07076fd422f2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| typestyle/typestyle | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="typestyle/typestyle")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem