unstale

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

@unstale/cli on npm

@radix-ui/react-slot 112 changes

Security 1

  • Packages are republished through CI with provenance attestations, helping developers verify their provenance.

    1.3.1release notes

New APIs and options 3

  • Accepts generic type arguments to specify the type of element a slot should render and its props.

    1.3.0release notes

  • Accepts generic type arguments to specify the type of element a slot should render and its props.

    1.3.0release notes

  • 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.

    1.2.5release notes

Behavior and default changes 1

Fixes and other changes 7

  • Optional types now allow explicit undefined for compatibility with TypeScript's exactOptionalPropertyTypes flag.

    1.5.0release notes

  • Fixed Slot throwing when an asChild child is a lazy reference whose resolved value is itself a lazy reference.

    1.5.0release notes

  • Fixed compatibility issues with React Server Components.

    1.4.0release notes

  • Reverted breaking changes that caused compatibility issues with React Server Components.

    1.3.2release notes

  • Improved error messages for invalid slot children.

    1.2.5release notes

  • Fixed an infinite re-render loop in React 19 caused by Slot creating a new ref callback on every render.

    1.2.5release notes

  • 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.

    1.2.4release notes