styled-components
6.6.0 · 12 Oct 2026MIT14.8M / weekRepositoryHomepagenpmAtom feed
4.4.1 is the newest release of 4.x.
In short
2 new2 fixed1 changed
Release note
Make it possible to initialize
SC_ATTRandSC_DISABLE_SPEEDYviaREACT_APP_*.env variables for easier integration with CRA applications (see #2501)Fix components being folded inappropriately when an interim HOC is present (see #2586)
Fix
themeprop for styled native components, also fixesthemeindefaultPropsfor them (see #2576)Add "forwardedAs" prop to allow deeply passing a different "as" prop value to underlying components
when usingstyled()as a higher-order component (see #2580)Implement defaultProps folding (see #2597)
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.