Download Latest Version styled-components@6.4.4 source code.zip (556.7 kB)
Email in envelope

Get an email when there's a new version of Styled Components

Home / styled-components@6.4.3
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-06-24 775 Bytes
styled-components@6.4.3 source code.tar.gz 2026-06-24 398.7 kB
styled-components@6.4.3 source code.zip 2026-06-24 556.7 kB
Totals: 3 Items   956.1 kB 0

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 similar). These styled components no longer reject every prop, including children; arbitrary props are accepted again at the JSX call site and via .attrs(), while components with readable prop types stay fully type-checked.
  • f692ec2: Keep TypeScript attribute autocomplete working while you type props on a polymorphic styled component. When a component renders a different element through as (for example as="video"), beginning to type a new prop name could make the whole suggestion list vanish; the rendered element's props now keep autocompleting as you go.
Source: README.md, updated 2026-06-24