Skip to content
JS
Comparison

styled-components vs @compiled/react

CSS-in-JS and stylingPackage data 25 Sept 2026
styled-componentsv6.5.3, 15 Aug 2026

Fast, expressive styling for React.

$ npm install styled-components
@compiled/reactv2.0.0, 25 Aug 2026

A familiar and performant compile time CSS-in-JS library for React.

$ npm install @compiled/react
Metricstyled-components@compiled/reactDifference
Weekly downloads8,221,053555,115styled-components 14.8x higher
12-month download growth+31%--
Gzip size---
Minified size---
Dependencies41styled-components 3 more
Unpacked size2.0 MB576 kB@compiled/react 3.5x smaller
Latest release6.5.3, 15 Aug 20262.0.0, 25 Aug 2026@compiled/react 10 days more recent
Releases, last 12 months2314styled-components 9 more
First published16 Aug 201617 Nov 2020styled-components 4.3 years earlier
GitHub stars41,1022,056styled-components 20.0x higher
Open issues14118@compiled/react 104 more
Open pull requests1738@compiled/react 21 more
Contributors---
Commits, last 52 weeks27780styled-components 3.5x higher
TypeScript typesBundledBundledSame
Module formatESM + CommonJSESM + CommonJSSame
Runtimes---
LicenseMITApache-2.0Differs

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

styled-components8.2m latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

styled-components

Major versions
  1. 0.0.116 Aug 2016
  2. 1.0.013 Oct 2016
  3. 2.0.025 May 2017
  4. 3.0.122 Jan 2018
  5. 4.0.015 Oct 2018
  6. 5.0.013 Jan 2020
  7. 6.0.028 Jun 2023
Last 5 releases
  1. 6.5.315 Aug 2026
  2. 6.5.211 Aug 2026
  3. 6.5.17 Aug 2026
  4. 6.5.04 Aug 2026
  5. 6.4.418 Jul 2026
191 releases in total, 23 in the last 12 months

@compiled/react

Major versions
  1. 0.5.017 Dec 2020
  2. 1.0.021 Jul 2026
  3. 2.0.025 Aug 2026
Last 5 releases
  1. 2.0.025 Aug 2026
  2. 1.0.210 Aug 2026
  3. 1.0.17 Aug 2026
  4. 1.0.021 Jul 2026
  5. 0.22.230 Jun 2026
72 releases in total, 14 in the last 12 months
styled-components

-

@compiled/react

-

styled-components

-

@compiled/react

-

  • Module formatBoth ESM + CommonJS
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirementstyled-components: >= 16; @compiled/react: none declared (engines field in package.json)
  • Need the more recent release@compiled/react (2.0.0 on 25 Aug 2026 vs 6.5.3 on 15 Aug 2026)
  • Higher weekly npm downloadsstyled-components (8.2m vs 555.1k)
  • Licensestyled-components: MIT; @compiled/react: Apache-2.0

Each line is generated from the data above.

@compiled/react: @compiled/react npm registry, @compiled/react GitHub. Data fetched 25 Sept 2026.

Indexability: Indexed.