Packages

styled-components

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

Your version

6.0.8

13 Sep 2023Where it was published

6.6.0 is the newest release of 6.x.

In short

1 new5 fixed4 internal

Release note

What's Changed

  • native: Add toStyleSheet function

  • Prevent StyleSheetManager updating context on every render

  • types: Ensure typing for static properties defined on third-party components wrapped by styled-components

  • Production mode inconsistent CSS rendering when dynamic property values are the same but property names are different

  • types: Decrease type complexity by moving off of JSX.IntrinsicElements for the supported element list

  • types: Adopt ref typing from forwardedAs

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.