styled-components/styled-components
Fast, expressive styling for React. Server components, client components, streaming SSR, React Native—one API. observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 98
- Release rhythm 98
- 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: 10.5
- age_days: 3669
- days_rel: 18
- days_push: 16
- n_releases_24m: 29
Adoption not part of the score
41123 stars · 2674 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
styled-components is a CSS-in-JS library for React that lets you write actual CSS in tagged template literals attached to components. It supports web React, React Native, server components, and streaming SSR with a single API.
Use cases
- style react components with scoped css
- write css-in-js with props-based dynamic styles
- theme a react app with a theme provider
- share one styling api between web and react native
- server-side render styled react components
- extend and compose styled components
When to choose
- you use React and want colocated, component-scoped styling
- you need dynamic styles driven by props or themes
- you target both web and React Native with one styling approach
- you need SSR or streaming SSR support
When to avoid
- you prefer plain CSS, CSS modules, or utility-first frameworks like Tailwind
- your project does not use React
- you want zero runtime CSS in the browser
Facets
library · maturity active
css-framework ui-components frontend-framework ssr web-development frontend mobile-development browser cross-platform css-in-js react react-native react-server-components theming typescript nodejs web-server
6 sources
- readme: https://github.com/styled-components/styled-components · fetched 2026-08-28 · 834de2d6bd2f
- homepage: https://styled-components.com · fetched 2026-08-29 · 900b2f85c3e7
- site_page: https://styled-components.com/docs · fetched 2026-08-29 · e2f44bc38f84
- site_page: https://styled-components.com/docs/compatibility · fetched 2026-08-29 · 39f1588ecdba
- site_page: https://styled-components.com/docs/advanced · fetched 2026-08-29 · 658e2cd81cf1
- site_page: https://styled-components.com/releases · fetched 2026-08-29 · f31acc69ac45
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| styled-components/styled-components | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="styled-components/styled-components")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem