Packages

@radix-ui/react-slot

1.5.0 · 12 Oct 2026MIT243.3M / weekRepositoryHomepagenpmAtom feed

Your version

33 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 1.x · latest line
  2. 1.5.0

    12 Oct 2026
    • Allow explicit undefined for all optional types 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.

  3. 1.4.0

    5 Oct 2026
    • Added support for multiple aria-describedby attributes.

    • Fixed compatibility issues with React Server Components.

  4. 1.3.3

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

  5. 1.3.2

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

  6. 1.3.1

    22 Jul 2026
    • Republish through CI to attach provenance attestations. The previous versions of these packages were published manually outside of CI and therefore shipped without provenance; this patch re-releases the same code through the CI pipeline so every package includes an attestation.

  7. 1.3.0

    15 Jun 2026

    SlotProps and createSlot now accept generic type arguments to specify the type of element a slot should render, as well as its props.

  8. 1.2.5

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

    • Added support for nested Slottable via a render prop, so a slotted element can be wrapped while still merging Slot props and refs onto it

    • Added repository.directory to all package.json files

  9. 1.2.4

    4 Nov 2025
    • Fixed an issue with how slot components interact with lazy React components. In the case of a lazy component instance, the resulting promise must be consumed to render the desired component.

  10. 1.2.3

    20 May 2025
    • Replace deprecated 'ElementRef' with 'ComponentRef'

    • Revert slot changes causing errors in server components

  11. 1.2.2

    6 May 2025
    • Add use client to slot entry to prevent RSC errors

  12. 1.2.1

    5 May 2025
    • Use stable composed refs in SlotClone

  13. 1.0.0 – 1.2.07 releases without a noteShow each
  14. 0.1.x
  15. 0.1.0 – 0.1.23 releases without a noteShow each
  16. 0.0.x
  17. 0.0.1 – 0.0.1212 releases without a noteShow each

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.