styled-components 6.1.8
CSS for the <Component> Age. Style components your way with speed, strong typing, and flexibility.
styled-components@6.1.8 was published on 2024-01-08. Its manifest declares 9 runtime dependencies and 2 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >= 16.
All styled-components versions · Permanent reference to 6.1.8 · Latest release
Package specifications
| Version | 6.1.8 |
|---|---|
| License declaration | MIT |
| Published | 2024-01-08T21:28:16.728Z |
| Node.js requirement | >= 16 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 9 |
| Peer requirement count | 2 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 1711.02 KiB |
| Published file count | 213 |
| Package type | Not declared |
| ES module entry | ./dist/styled-components.esm.js |
| Default entry | dist/styled-components.cjs.js |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 16 |
| Repository stars | 41062 |
| Repository forks | 2613 |
Install styled-components 6.1.8
npm install styled-components@6.1.8 pnpm add styled-components@6.1.8 yarn add styled-components@6.1.8
Runtime dependencies
- tslib 2.5.0
- stylis 4.3.1
- csstype 3.1.2
- postcss 8.4.31
- shallowequal 1.1.0
- @types/stylis 4.2.0
- @emotion/unitless 0.8.0
- css-to-react-native 3.2.0
- @emotion/is-prop-valid 1.2.1
Peer requirements
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @emotion/is-prop-valid@1.2.1 — direct
- @emotion/memoize@0.8.1 — indirect
- @emotion/unitless@0.8.0 — direct
- @types/stylis@4.2.0 — direct
- camelize@1.0.1 — indirect
- css-color-keywords@1.0.0 — indirect
- css-to-react-native@3.2.0 — direct
- csstype@3.1.2 — direct
- nanoid@3.3.20 — indirect
- picocolors@1.1.1 — indirect
- postcss@8.4.31 — direct
- postcss-value-parser@4.2.0 — indirect
- shallowequal@1.1.0 — direct
- source-map-js@1.2.2 — indirect
- stylis@4.3.1 — direct
- tslib@2.5.0 — direct
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/6.1.8 — retrieved 2026-10-29T22:47:49.732Z
- https://api.deps.dev/v3/systems/npm/packages/styled-components/versions/6.1.8:dependencies — retrieved 2026-10-29T22:47:50.296Z
- https://api.deps.dev/v3/systems/npm/packages/styled-components/versions/6.1.8 — retrieved 2026-10-29T22:47:50.277Z (stale snapshot; refresh pending)
- https://api.deps.dev/v3/projects/github.com%2Fstyled-components%2Fstyled-components — retrieved 2026-10-29T21:54:43.242Z