@radix-ui/react-slot
1.5.0 · 12 Oct 2026MIT243.3M / weekRepositoryHomepagenpmAtom feed
33 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 1.x · latest line
1.5.0
12 Oct 2026Allow explicit
undefinedfor all optional types for compatibility with TypeScript'sexactOptionalPropertyTypesflag.Fixed
Slotthrowing when anasChildchild is a lazy reference whose resolved value is itself a lazy reference.
1.4.0
5 Oct 2026Added support for multiple
aria-describedbyattributes.Fixed compatibility issues with React Server Components.
1.3.3
24 Jul 2026Reverted breaking changes that caused compatibility issues with React Server Components.
1.3.2
24 Jul 2026Reverted breaking changes that caused compatibility issues with React Server Components.
1.3.1
22 Jul 2026Republish 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.
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.
1.3.0
15 Jun 2026SlotPropsandcreateSlotnow accept generic type arguments to specify the type of element a slot should render, as well as its props.1.2.5
6 Jun 2026Fixed infinite re-render loop in React 19 caused by
Slotcreating a new ref callback on every renderAdded support for nested
Slottablevia a render prop, so a slotted element can be wrapped while still merging Slot props and refs onto itAdded repository.directory to all package.json files
Fixed infinite re-render loop in React 19 caused by
Slotcreating a new ref callback on every renderAdded support for nested
Slottablevia a render prop, so a slotted element can be wrapped while still merging Slot props and refs onto itAdded repository.directory to all package.json files
Improved error messages for invalid slot children
1.2.4
4 Nov 2025Fixed 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.
1.2.3
20 May 2025Replace deprecated 'ElementRef' with 'ComponentRef'
Revert slot changes causing errors in server components
1.2.2
6 May 2025Add
use clientto slot entry to prevent RSC errors
1.2.1
5 May 2025Use stable composed refs in SlotClone
- 0.1.x
- 0.0.x
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.