styled-components 2.4.1
Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress ๐
styled-components@2.4.1 was published on 2018-06-02. Its manifest declares 8 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All styled-components versions ยท Permanent reference to 2.4.1 ยท Latest release
Package specifications
| Version | 2.4.1 |
|---|---|
| License declaration | MIT |
| Published | 2018-06-02T04:09:58.199Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 8 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 1340.63 KiB |
| Published file count | 314 |
| Package type | Not declared |
| ES module entry | dist/styled-components.es.js |
| Default entry | lib/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 31 |
| Repository stars | Unknown |
| Repository forks | Unknown |
Install styled-components 2.4.1
npm install styled-components@2.4.1 pnpm add styled-components@2.4.1 yarn add styled-components@2.4.1
Runtime dependencies
- fbjs ^0.8.9
- buffer ^5.0.3
- stylis ^3.4.0
- prop-types ^15.5.4
- supports-color ^3.2.3
- is-plain-object ^2.0.1
- css-to-react-native ^2.0.3
- hoist-non-react-statics ^1.2.0
Peer requirements
- react >= 0.14.0 < 17.0.0-0
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- asap@2.0.6 โ indirect
- base64-js@1.5.1 โ indirect
- buffer@5.7.1 โ direct
- camelize@1.0.1 โ indirect
- core-js@1.2.7 โ indirect
- css-color-keywords@1.0.0 โ indirect
- css-to-react-native@2.3.2 โ direct
- encoding@0.1.14 โ indirect
- fbjs@0.8.18 โ direct
- has-flag@1.0.0 โ indirect
- hoist-non-react-statics@1.2.0 โ direct
- iconv-lite@0.7.3 โ indirect
- ieee754@1.2.1 โ indirect
- is-plain-object@2.0.4 โ direct
- is-stream@1.1.0 โ indirect
- isobject@3.0.1 โ indirect
- isomorphic-fetch@2.2.1 โ indirect
- js-tokens@4.0.0 โ indirect
- loose-envify@1.4.0 โ indirect
- node-fetch@1.7.3 โ indirect
- object-assign@4.1.1 โ indirect
- postcss-value-parser@3.3.1 โ indirect
- promise@7.3.1 โ indirect
- prop-types@15.8.1 โ direct
- react-is@16.13.1 โ indirect
- safer-buffer@2.1.2 โ indirect
- setimmediate@1.0.5 โ indirect
- stylis@3.5.4 โ direct
- supports-color@3.2.3 โ direct
- ua-parser-js@0.7.41 โ indirect
- whatwg-fetch@3.6.20 โ indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
Evidence and freshness
- https://registry.npmjs.org/styled-components/2.4.1 โ retrieved 2026-10-29T21:54:41.903Z
- https://api.deps.dev/v3/systems/npm/packages/styled-components/versions/2.4.1 โ retrieved 2026-10-29T21:54:42.437Z
- https://api.deps.dev/v3/systems/npm/packages/styled-components/versions/2.4.1:dependencies โ retrieved 2026-10-29T21:54:42.440Z