styled-components /styled-components

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

★ 41,048⑂ 2,595👁 367⑃ 1,527● 3,027▤ 269
TypeScriptMITCreated 2016-08-16styled-components.com
+0
Daily
+0
Weekly
41,048
stars
2,595
forks
367
watchers
1,527
prs
3,027
issues
269
releases

README

packages/styled-components/README.md

Top issues

Discussions

Latest release

[email protected] [email protected] 2026-10-12
Minor Changes

- 7ce6aea: Added a StyledComponent type for annotating explicitly-typed styled component exports.

  Packages that emit their own declaration files, including any project using isolatedDeclarations, must annotate every exported styled component, and there was no public type for it: consumers reached into internal paths or hand-assembled one that dropped members like a wrapped component's hoisted statics.

  StyledComponent is exported from the web and native entries. Name the target and props as you passed them to styled:

  tsx
  import styled, { type StyledComponent } from 'st

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON