styled-components
6.6.0 · 12 Oct 2026MIT14.8M / weekRepositoryHomepagenpmAtom feed
3.4.10 is the newest release of 3.x.
In short
2 new3 fixed1 changed1 internal
Release note
The team is very excited to release v3.3.0, containing a number of important bugfixes and quality of life improvements to the library! This will probably be the last feature release before v4.0 (roadmap) this summer.
Thank you so much to all the people who contributed. styled-components is nothing without its community ❤️
Fix off-by-one error in insertRuleHelpers.js,
Add first-class support for objects,
const Component = styled.div({ color: 'blue' })
Fix typo in console warning about multiple instances,
Fix
React.createRef()values forinnerRefbeing ignored in React Native,Hoist non-react static properties on wrapped classes,
Support attributes prefixed by
x-,
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.