styled-components
6.6.0 · 12 Oct 2026MIT14.8M / weekRepositoryHomepagenpmAtom feed
Your version
3.4.10 is the newest release of 3.x.
In short
3 new2 changed
Release note
Add first-class support for functions that return objects,
const Comp = styled.div((({ color }) => ({ color, }))Add support for the prop variants used by Preact (
autofocus,class,for),Various performance improvements,
Revert #1798,
Add benchmarking suite,
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.