styled-components

Active

styled-components / styled-components

Fast, expressive styling for React. Server components, client components, streaming SSR, React Native—one API.

Stars

41.2K

Forks

2.7K

NPM Downloads

-

Bundle (gzip)

-

OtherReactMITcsscss-in-jsreactreactnativerscstyled-components

Recent Releases

[email protected][email protected]

Patch Changes - f692ec2: Fix a TypeScript error when wrapping a component whose props can't be statically read, such as Mantine v7's polymorphic-factory components (Button, Card, Menu.Item, and simi

Jun 24, 2026

[email protected][email protected]

Patch Changes - 9945904: Restore TypeScript prop autocomplete inside the JSX of a styled component once the first attribute is typed. - 9945904: Apply all chain levels' styles when an extended s

May 19, 2026

[email protected][email protected]

Patch Changes - 49d09ae: Fix a performance regression in 6.4.0 where dynamic createGlobalStyle components caused significant re-render slowdowns. Also restores pre-6.4 cascade ordering when multip

Apr 21, 2026

[email protected][email protected]

Minor Changes - b0f3d29: .attrs() improvements: props supplied via attrs are now automatically made optional on the resulting component (previously required even when attrs provided a default). Al

Apr 9, 2026

[email protected][email protected]

Patch Changes - db4f940: Fix test performance regression in 6.3.x by eliminating double style rendering in createGlobalStyle and removing unnecessary DOM queries during cleanup in client/test envi

Mar 19, 2026

[email protected][email protected]

Patch Changes - 752f5ec: fix: resolve "React is not defined" ReferenceError introduced in 6.3.10 when loading the CJS build in Node.js

Feb 19, 2026

[email protected][email protected]

Patch Changes - f674224: fix: RSC style tags for extended components have correct href and include base CSS (5663) - Fix spaces in <style href> attribute that caused React 19 hydration fail

Feb 18, 2026