styled-components 2.3.1
Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress ๐
styled-components@2.3.1 was published on 2017-12-19. 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.3.1 ยท Latest release
Package specifications
| Version | 2.3.1 |
|---|---|
| License declaration | MIT |
| Published | 2017-12-19T09:17:31.425Z |
| 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 | Not supplied |
| Published file count | Not supplied |
| 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 | 41062 |
| Repository forks | 2613 |
Install styled-components 2.3.1
npm install styled-components@2.3.1 pnpm add styled-components@2.3.1 yarn add styled-components@2.3.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.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 0/10 โ Found 0/12 approved changesets -- score normalized to 0 |
|---|---|
| Maintained | 10/10 โ 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10 |
| Dangerous-Workflow | 10/10 โ no dangerous workflow patterns detected |
| Token-Permissions | 9/10 โ detected GitHub workflow tokens with excessive permissions |
| CII-Best-Practices | 0/10 โ no effort to earn an OpenSSF best practices badge detected |
| Binary-Artifacts | 9/10 โ binaries present in source code |
| Pinned-Dependencies | 0/10 โ dependency not pinned by hash detected -- score normalized to 0 |
| Security-Policy | 0/10 โ security policy file not detected |
| License | 10/10 โ license file detected |
| Fuzzing | 0/10 โ project is not fuzzed |
| SAST | 10/10 โ SAST tool is run on all commits |
Evidence and freshness
- https://registry.npmjs.org/styled-components/2.3.1 โ retrieved 2026-10-29T23:12:20.225Z
- https://api.deps.dev/v3/systems/npm/packages/styled-components/versions/2.3.1:dependencies โ retrieved 2026-10-29T23:12:20.803Z
- https://api.deps.dev/v3/projects/github.com%2Fstyled-components%2Fstyled-components โ retrieved 2026-10-29T21:54:43.242Z
- https://api.deps.dev/v3/systems/npm/packages/styled-components/versions/2.3.1 โ retrieved 2026-10-29T23:12:20.746Z (stale snapshot; refresh pending)