styled-components
Reasonable, with limits. 8th of 10 CSS and styling tools.
styled-components is the original CSS-in-JS library for React and React Native. You write CSS in tagged templates and it injects the styles at runtime. In 2026 it was revived in practice: 6.4–6.6 added React Server Components support, better TypeScript performance and theming with CSS variables, and v7 is in prerelease. Even so, it is officially in maintenance mode, mostly run by one person, and growing more slowly than its category. For most new projects, Tailwind CSS or a zero-runtime library is the better pick.
Best for: Teams that already run styled-components, or that need runtime dynamic styling shared across React web and React Native without a build step.
Scores
Overall5.8
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 4.5, likely 3.5 to 5.5
It is a capable, revived library and stays fine where it already runs. For new work, Tailwind CSS, vanilla-extract or Panda CSS do the job without a runtime cost and have the ecosystem's momentum. Maintenance mode, a single maintainer and below-median growth also hold it back. The range is wide because v7 could restore confidence.
- peers Tailwind CSS downloads: Tailwind ratio about 6.4, against about 2.0 here
- buildmvpfast.com/blog/styled-components-maintenance-css-in-js-migration-2026: 2026 guide on migrating off styled-components
- styled-components.com/releases: Active 6.x and v7 prerelease work
GPT-6.2 Sol: 7.1, likely 6.0 to 8.2
Choose styled-components when a React project benefits from writing full CSS beside components and computing styles from live props. For most new web apps, Tailwind CSS is a stronger default, and vanilla-extract is a better fit when the team wants typed styles compiled to CSS at build time. Active v6 releases support the recommendation, while slower relative adoption and concentrated maintenance keep the two-year outlook uncertain.
- github.com/styled-components/styled-components/releases/tag/styled-components@6.6.0: The current stable release delivers fixes for real streaming and typing problems.
- tailwindcss.com/docs/installation/using-vite: Tailwind generates static CSS and integrates with several web frameworks.
- vanilla-extract.style: vanilla-extract generates static stylesheets from TypeScript.
- styled-components.com/blog/celebrating-a-decade-of-styled-components: The project needs more funding for consistent long-term maintenance.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio, peers: Relative download growth trails the catalog baseline, while Tailwind CSS exceeds it.
Needed by many4.6
How many developers need a tool for this job?
Claude Opus 5.5: 4.5, likely 3.5 to 5.5
Every web UI needs styling, but this tool serves only React and React Native, and only teams that want runtime CSS-in-JS. CSS-in-JS is a shrinking minority approach: State of CSS 2025 puts its use at about 29% of respondents. That makes this a sizeable niche, not a majority need.
- 2025.stateofcss.com/ua-UA/other-tools: CSS-in-JS used by about 29% of respondents; styled-components second after CSS Modules
- github description: Styling for React and React Native only
GPT-6.2 Sol: 4.7, likely 3.6 to 5.8
Nearly every web app needs styling, and styled-components serves a sizable subset of React and React Native developers. Runtime CSS generation is most useful when styles depend on props or values only known at render time. About 22% of respondents who answered the 2026 State of CSS question reported using it, and that survey sample leaves uncertainty about demand across JavaScript projects.
- 2026.stateofcss.com/en-US/other-tools: 753 of 3,489 respondents to the CSS-in-JS question selected styled-components.
- styled-components.com/docs/basics: Documents React, React Native, and prop-based styling.
- styled-components.com/docs/advanced: Documents theming, server rendering, and when dynamic styles add work.
Helps a lot6.9
How well does it do the job for those who need it?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
The API is mature and well documented, and 2026 releases added RSC support, CSS-variable theming, faster re-renders and much faster type-checking. The core design still injects CSS at runtime. Large users report this as a measurable cost that zero-runtime peers avoid. AI agents know the API well, which helps.
- styled-components.com/blog/celebrating-a-decade-of-styled-components: 6.4 adds createTheme, RSC improvements and 1.5–3.5x faster re-renders
- styled-components.com/releases: 6.5–6.6 bring TypeScript speedups and Suspense/RSC style fixes
- infoq.com/news/2026/09/linear-stylex-meta: Linear cut main-thread work 20–35% after leaving styled-components
- news.ycombinator.com/item?id=45219406: Users name runtime CSS injection as the root performance problem
GPT-6.2 Sol: 7.7, likely 6.6 to 8.8
Stable 6.6 combines expressive CSS, inferred props, theming, and streaming support, and it fixes several typing and rendering bugs. The documented examples give coding agents a clear pattern for basic components, while Linear's experience shows how easily wrappers and selectors can obscure styling behavior in a large codebase. Edge server rendering is unsupported, and the independent performance results cover earlier versions, leaving uncertainty about how much runtime cost remains in 6.6.
- github.com/styled-components/styled-components/releases/tag/styled-components@6.6.0: Adds a public annotation type and fixes streaming, type checking, and hydration diagnostics. Edge rendering requires a move to Node.js.
- styled-components.com/docs/basics: Examples cover transient props, composition, and scoped CSS.
- linear.app/now/styling-linear-for-the-future-stylex: Linear describes render costs, cross-component overrides, and difficulties automating a large migration.
- sanity.io/engineering/cut-styled-components-into-pieces-this-is-our-last-resort: Sanity reports up to 40% faster initial component rendering in Linear's 2025 test of its fork.
Holds up over time5.7
Will it still be a good choice in two years?
Claude Opus 5.5: 5.0, likely 3.5 to 6.5
Activity is high: 306 commits, 93 releases in the last year, a 6.6 release in October 2026 and v7 prereleases in November. But the project has been officially in maintenance mode since March 2025, depends mainly on one maintainer, and is asking for funding. The ecosystem is moving away from runtime CSS-in-JS. The v7 work is the main reason the range reaches upward.
- github commitsLastYear / releasesLastYear: 306 commits, 93 releases
- opencollective.com/styled-components/updates/thank-you: Maintenance mode announced in March 2025
- styled-components.com/blog/celebrating-a-decade-of-styled-components: Solo maintenance acknowledged; project needs funding
- styled-components.com/releases: v7.0 prereleases in November 2026 include breaking changes
GPT-6.2 Sol: 6.4, likely 5.1 to 7.7
The project has resumed active development since the 2025 maintenance-mode announcement, with 306 commits in the past year and a v7 alpha in progress. Version 6.6 fixed a crash reported by a Material UI user after a minor upgrade, and v7 raises the React version requirement and changes the plugin API. Reliance on one primary maintainer and unresolved funding needs make the two-year outlook less certain.
- github commitsLastYear, github latestRelease, npm versionsLastYear: 306 commits, an October 2026 stable release, and 24 npm versions in the year.
- styled-components.com/blog/celebrating-a-decade-of-styled-components: Explains the maintenance slowdown, subsequent work, and need for funding.
- github.com/styled-components/styled-components/issues/5788: A user reported a development crash after upgrading from 6.3.12.
- github.com/styled-components/styled-components/releases/tag/styled-components@6.6.0: The stable release fixed the reported class of hooks crashes.
- styled-components.com/docs/v7: The alpha requires React 19 and replaces the v6 Stylis plugin interface.
Used widely7.1
How many use it, and is that growing?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It has about 59M downloads per 4 weeks and 448k dependent repositories, a very large installed base. The year-over-year ratio is about 2.0, against a median of 4.1, so it is losing ground. Much of the use is in existing codebases rather than new choices. Tailwind's ratio is about 6.4.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 58.9M vs 29.6M, ratio about 2.0, below the 4.1 median
- dependents.repos: 448k repos, above Emotion's 273k, far below Tailwind's 1.05M
- bluesky posts: 6 posts, against 50 for Tailwind
GPT-6.2 Sol: 7.2, likely 6.2 to 8.2
Ecosyste.ms found roughly 448,000 dependent repositories and 29,000 dependent packages, ahead of Emotion and behind Tailwind CSS on repository count. Downloads nearly doubled to 58.9 million over four weeks, but the 1.99× ratio trails the catalog's 4.1× baseline, indicating a loss of relative ground. Install counts include repeat and indirect installs, and the dependent counts cannot tell how many new projects are choosing it.
- dependents repos, dependents packages, peers: 448,028 repositories and 28,894 packages, versus 273,331 repositories for Emotion and 1,049,673 for Tailwind CSS.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio: 58.9 million versus 29.6 million, or 1.99× against a 4.1× baseline.
- github stars, bluesky posts, peers: 41,065 stars and six Bluesky links, compared with 50 links for Tailwind CSS.
- 2026.stateofcss.com/en-US/other-tools: More survey respondents reported using it than Emotion, vanilla-extract, or Panda CSS.
Vouched for5.8
Who stands behind it being good?
Claude Opus 5.5: 5.0, likely 4.0 to 6.5
It is still widely used, ranks as the number-two CSS-in-JS tool in State of CSS 2025, and libraries such as Grommet build on it. The current, high-profile production stories are migrations away from it: Linear moved to StyleX and Sanity is moving to vanilla-extract. Endorsements are mostly old, and recent ones are mixed.
- infoq.com/news/2026/09/linear-stylex-meta: Linear migrated away in 2026
- sanity.io/engineering/cut-styled-components-into-pieces-this-is-our-last-resort: Sanity forked it for performance and is migrating away
- 2025.stateofcss.com/ua-UA/other-tools: Still second in CSS-in-JS usage
GPT-6.2 Sol: 6.5, likely 5.4 to 7.6
Next.js documents an App Router integration, Material UI maintains an optional adapter, and Sanity Studio declares compatibility with v6. Linear found the API flexible in production and ultimately moved to StyleX for lower render overhead and clearer component styling boundaries. Recent survey figures measure usage, and there is little independent performance or satisfaction evidence specific to 6.6.
- nextjs.org/docs/app/guides/css-in-js: Next.js documents an App Router setup for styled-components v6 or newer.
- mui.com/material-ui/integrations/styled-components: Material UI offers a v6-compatible adapter and recommends Emotion for its server-rendered projects.
- raw.githubusercontent.com/sanity-io/sanity/main/packages/sanity/package.json: Sanity Studio declares styled-components v6 as a peer.
- linear.app/now/styling-linear-for-the-future-stylex: Linear reports why it adopted and later replaced styled-components.
- 2026.stateofcss.com/en-US/other-tools: The 2026 survey asks about current use.
Safe7.0
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
No advisories are on record, it has only five dependencies, and the licence is MIT. The Scorecard is 5.7, with weak Code-Review, Pinned-Dependencies and Security-Policy checks. This fits a mostly single-maintainer project that publishes often.
- advisories.total: 0 advisories
- scorecard: 5.7 overall; Code-Review 1, Pinned-Dependencies 0, Security-Policy 0
- npm dependencies: 5 dependencies, MIT licence
GPT-6.2 Sol: 6.9, likely 5.7 to 8.1
The package uses the permissive MIT license, has five direct dependencies, and has no reported package advisories in OSV. Releases use GitHub Actions and Changesets, while the 5.7 OpenSSF Scorecard flags weak review coverage, unpinned dependencies, and no published security policy. The number of people who can publish is unclear, and the advisory record gives little evidence about response times.
- npm dependencies, npm license, advisories total: Five direct dependencies, MIT, and zero OSV advisories.
- scorecard checks: Code Review 1/10, Pinned Dependencies 0/10, Security Policy 0/10, and Dangerous Workflow 10/10.
- raw.githubusercontent.com/styled-components/styled-components/styled-components@6.6.0/.github/workflows/release.yml: The tagged release workflow uses Changesets and references actions by version tags.
- github.com/styled-components/styled-components/security: GitHub shows no published security policy.
Good
- You write plain CSS in tagged templates, with props-driven dynamic styles and theming, and it needs no build step.
- The 6.3–6.6 releases added React Server Components and streaming SSR support, plus much faster TypeScript type-checking.
- One API covers both React web and React Native.
- It has a very large installed base, a mature ecosystem, no known advisories and only five dependencies.
Bad
- Generating styles at runtime costs render time in large apps. Linear and Sanity measured this and migrated away.
- It was declared to be in maintenance mode in March 2025, and one maintainer does most of the work.
- Downloads grew more slowly than the category median, so new projects are choosing Tailwind and zero-runtime tools instead.
- The coming v7 brings breaking changes to StyleSheetManager, createGlobalStyle and keyframes behaviour.
The numbers
- npm downloads, 4 weeks
- 59M +99% in a year
- GitHub stars
- 41k
- Commits, 12 months
- 306
- npm version
- 6.6.0 Oct 2026
- Versions, 12 months
- 24
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 5.7 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (styled-components/styled-components), npm (styled-components), OSV and the OpenSSF Scorecard.
CSS and styling tools
- 8.8Tailwind CSS
- 7.9PostCSS
- 7.8Lightning CSS
- 7.4Panda CSS
- 7.4Sass
- 7.1UnoCSS
- 7.1vanilla-extract
- 5.8styled-components
- 5.1Less
- 5.1Emotion