Packages

styled-components

6.6.0 · 12 Oct 2026MIT14.8M / weekRepositoryHomepagenpmAtom feed

Your version

6.3.10

18 Feb 2026Where it was published

6.6.0 is the newest release of 6.x.

In short

2 fixed

Release note

Patch Changes

  • RSC style tags for extended components have correct href and include base CSS

    • Fix spaces in <style href> attribute that caused React 19 hydration failures when using styled() inheritance

    • Fix missing base component CSS in RSC output when only the extended component renders

    • Emit a separate <style> tag per inheritance level with content-aware hrefs, enabling React 19 deduplication of shared base styles

    • Preserve correct CSS ordering (base before extended) for proper specificity override behavior

  • Reduce standalone/browser bundle size by making IS_RSC a build-time constant, enabling dead code elimination of RSC-specific branches

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.