styled-components
6.6.0 · 12 Oct 2026MIT14.8M / weekRepositoryHomepagenpmAtom feed
194 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 6.x · latest line
6.0.3
7 Jul 2023Reading the note…
6.0.2
3 Jul 2023Reading the note…
6.0.1
28 Jun 2023Reading the note…
6.0.0
28 Jun 2023- Breaking
Now using
stylisv4 (if usingstylis-plugin-rtlyou'll need to upgrade to the newer version) - Breaking
styled-components now provides its own types; if you installed
@types/styled-componentsin the past, you'll want to remove it - Breaking
Dropped
$asand$forwardedAsprops (useasorforwardedAs)
yarn add styled-components
Changed in this version
types: Prevent prop bleed on styling properties (fixes #4053, c0f8015)
types: Ship csstype via "CSS" namespace
Reduced some sources of unnecessary branching logic
Breaking changes in v6
Migration guide → styled-components.com/docs/faqs
- Breaking
Now using
stylisv4 (if usingstylis-plugin-rtlyou'll need to upgrade to the newer version) - Breaking
styled-components now provides its own types; if you installed
@types/styled-componentsin the past, you'll want to remove it - Breaking
Dropped
$asand$forwardedAsprops (useasorforwardedAs) - Breaking
Dropped automatic prop filtering; use transient props (
$prefix) for stuff you don't want to be passed to child component / HTML - Breaking
StyleSheetManager: replaced
disableVendorPrefixeswithenableVendorPrefixesprop - Breaking
StyleSheetManager: dropped automatic vendor prefixing; if you need to support older browsers, you can re-enable it easily with the above prop
<StyleSheetManager enableVendorPrefixes> {/* your React tree and ThemeProvider goes here */} </StyleSheetManager> - Breaking
Dropped deprecated
withComponentAPI (87f511a); use "as" prop instead - Breaking
Node >= 14 needed
- 5.x
5.3.11
26 May 2023Reading the note…
5.3.10
23 Apr 2023Reading the note…
5.3.9
13 Mar 2023Reading the note…
5.3.8
2 Mar 2023Reading the note…
5.3.7
2 Mar 2023Reading the note…
5.3.6
27 Sep 2022Reading the note…
5.3.5
24 Mar 2022Reading the note…
5.3.4
24 Mar 2022Reading the note…
5.3.3
19 Oct 2021Reading the note…
5.3.2
19 Oct 2021Reading the note…
5.3.1
24 Aug 2021Reading the note…
5.3.0
5 May 2021Reading the note…
5.2.3
31 Mar 2021Reading the note…
5.2.2
30 Mar 2021Reading the note…
5.2.1
30 Oct 2020Reading the note…
5.2.0
4 Sep 2020Reading the note…
5.1.1
25 May 2020Reading the note…
5.1.0
7 Apr 2020Reading the note…
5.0.1
4 Feb 2020Reading the note…
5.0.0
13 Jan 2020Reading the note…
- 4.x
4.4.1
30 Oct 2019Reading the note…
4.4.0
23 Sep 2019Reading the note…
4.3.2
20 Jun 2019Reading the note…
4.3.1
6 Jun 2019Reading the note…
4.3.0
5 Jun 2019Reading the note…
4.2.1
30 May 2019Reading the note…
4.2.0
23 Mar 2019Reading the note…
4.1.3
17 Dec 2018Reading the note…
4.1.2
28 Nov 2018Reading the note…
4.1.1
12 Nov 2018Reading the note…
4.1.0
12 Nov 2018Reading the note…
4.0.3
30 Oct 2018Reading the note…
4.0.2
18 Oct 2018Reading the note…
4.0.1
17 Oct 2018Reading the note…
4.0.0
15 Oct 2018Reading the note…
- 3.x
3.4.10
9 Oct 2018Reading the note…
3.4.9
18 Sep 2018Reading the note…
3.4.8
17 Sep 2018Reading the note…
3.4.7
17 Sep 2018Reading the note…
3.4.6
10 Sep 2018Reading the note…
3.4.5
23 Aug 2018Reading the note…
3.4.4
21 Aug 2018Reading the note…
3.4.3
21 Aug 2018Reading the note…
3.4.2
7 Aug 2018Reading the note…
3.4.1
5 Aug 2018Reading the note…
3.4.0
2 Aug 2018Reading the note…
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.