Skip to content
PluginStats

babel-plugin-styled-components weekly downloads statistics

npm · Babel plugins

Improve the debugging experience and add server-side rendering support to styled-components

View on npm Fresh · Dec 6, 2026

babel-plugin-styled-components has 5,360,957 recorded weekly downloads on npm, an increase of 5.4% over the past 30 days, ranking #163 of 3,247 tracked listings.

Weekly downloads
5,360,957
Official API · Dec 5, 2026
7-day growth
+13.8%
+649.8K weekly downloads
30-day growth
+5.4%
+272.4K weekly downloads
90-day growth
+40.1%
+1.5M weekly downloads
Rank
#163
▲ 3 in 7 days

About babel-plugin-styled-components

babel-plugin-styled-components

This plugin is a highly recommended supplement to the base styled-components library, offering some useful features:

  • consistently hashed component classNames between environments (a must for server-side rendering)
  • better debugging through automatic annotation of your styled components based on their context in the file system, etc.
  • various types of minification for styles and the tagged template literals styled-components uses

Requirements

This plugin is tested against:

  • @babel/core ^7 and ^8
  • styled-components >= 6 (earlier majors may still work but aren't exercised in CI)

Quick start

Install the plugin first:

npm install --save-dev babel-plugin-styled-components

Then add it to your babel configuration:

{
  "plugins": ["babel-plugin-styled-components"]
}

Options

Full option reference lives on the styled-components documentation site. A couple worth flagging here:

  • topLevelImportPaths (string[]): additional module specifiers whose styled export should be recognized alongside styled-components. Useful for libraries that re-export the styled-components API.
  • cssPropImportPath (string, default 'styled-components'): which package the css-prop transform should auto-import styled from when the file doesn't already have a styled import. Set to 'styled-components/native' for React Native targets.

Changelog

See Github Releases

Documentation

The documentation for this plugin lives on the styled-components website!

License

Licensed under the MIT License, Copyright © 2016-present Vladimir Danchenkov and Maximilian Stoiber.

See LICENSE.md for more information.

Description from the npm listing.

  • styled-components
  • css-in-js
  • babel-plugin
  • server-side rendering
  • ssr
  • displayName

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

babel-plugin-styled-components weekly downloads on npm, last 90 days: 5,360,957 weekly downloads as of Dec 5, 2026, +40.1% over 90 days.babel-plugin-styled-componentsWeekly downloads on npm · Last 90 days5,360,957downloads / week+40.1% over 90 days01M2M3M4M5M6MSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
babel-plugin-styled-components weekly downloads on npm, last 90 days: 5,360,957 weekly downloads as of Dec 5, 2026, +40.1% over 90 days.

7/30/90-day growth

babel-plugin-styled-components weekly downloads growth on npm: +13.8% over 7 days, +5.4% over 30 days, +40.1% over 90 days.babel-plugin-styled-componentsWeekly downloads growth on npm5,360,957downloads / week now7-day growth+649,810 weekly downloads+13.8%30-day growth+272,359 weekly downloads+5.4%90-day growth+1,535,744 weekly downlo…+40.1%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
babel-plugin-styled-components weekly downloads growth on npm: +13.8% over 7 days, +5.4% over 30 days, +40.1% over 90 days.

Ranking history

babel-plugin-styled-components npm ranking history: currently #163 (by weekly downloads).babel-plugin-styled-componentsnpm ranking · by weekly downloads · Last 90 days#163current rank#40#60#80#100#120#140#160#180Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
babel-plugin-styled-components npm ranking history: currently #163 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 9, #3 (overall #163)
All npm: every listing in weekly downloads order

Listing placement

Babel plugins263 listings · 14 pages · page 6, #14 (overall #114)
Babel plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (592)
Recent weekly downloads observations for babel-plugin-styled-components
Date (UTC)Weekly downloadsChange vs. previous
5,360,957+26.7K
5,334,263+220.1K
5,114,208+219.5K
4,894,674+87.3K
4,807,350+63.9K
4,743,457+34K
4,709,480-1.7K
4,711,147-7.2K
4,718,341-132.3K
4,850,688-235.2K
5,085,885-142.4K
5,228,275-34.3K
5,262,550-29.9K
5,292,405—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/babel-plugin-styled-components. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.