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

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

Home / styled-components@6.5.1
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-08-07 893 Bytes
styled-components@6.5.1 source code.tar.gz 2026-08-07 437.0 kB
styled-components@6.5.1 source code.zip 2026-08-07 600.8 kB
Totals: 3 Items   1.0 MB 0

Patch Changes

  • a0a92cd: Fix a styled component silently dropping props declared as a union whose members have no prop in common, which left every one of those props rejected. The same applied when as pointed at a component with such props. Where every member's props are optional the union is still flattened, so declare the combined optional shape instead.
  • a0a92cd: Styled components now report the same debug value to React DevTools on every render. Previously the value was only reported on renders that recomputed styles, so it disappeared from the DevTools panel whenever a component re-rendered with unchanged style props.
  • a0a92cd: Fix wrapping a component whose props are a union. Since 6.5.0 the wrapped version accepted only the props common to every member of the union, so a prop belonging to just one member was rejected even though the unwrapped component accepted it.
Source: README.md, updated 2026-08-07