npm / @radix-ui/react-slot
@radix-ui/react-slot
What changed in @radix-ui/react-slot 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.
1 security3 new APIs and options1 behavior and defaults7 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@radix-ui/react-slot 112 changes
Security 1
Packages are republished through CI with provenance attestations, helping developers verify their provenance.
New APIs and options 3
Accepts generic type arguments to specify the type of element a slot should render and its props.
Accepts generic type arguments to specify the type of element a slot should render and its props.
Added support for nested Slottable via a render prop, allowing a slotted element to be wrapped while Slot props and refs are still merged onto it.
Behavior and default changes 1
Supports multiple aria-describedby attributes.
Fixes and other changes 7
Optional types now allow explicit undefined for compatibility with TypeScript's exactOptionalPropertyTypes flag.
Fixed Slot throwing when an asChild child is a lazy reference whose resolved value is itself a lazy reference.
Fixed compatibility issues with React Server Components.
Reverted breaking changes that caused compatibility issues with React Server Components.
Improved error messages for invalid slot children.
Fixed an infinite re-render loop in React 19 caused by Slot creating a new ref callback on every render.
Fixed how slot components interact with lazy React components: for a lazy component instance, the resulting promise must be consumed to render the desired component.