npm / radix-ui
radix-ui
What changed in radix-ui 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
7 breaking1 security1 deprecations27 new APIs and options2 performance7 behavior and defaults72 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initradix-ui 1117 changes
Breaking changes 7
Renamed to unstable_CollectionDict; unstable collection APIs are undocumented and may change without a major version bump.
Renamed to unstable_CollectionSlotProps; unstable collection APIs are undocumented and may change without a major version bump.
The viewport now renders active content inside the consumer's element alongside its existing children instead of discarding them.
The trigger now moves focus before the tab state changes, so a focused element inside
Tabs.Contentfires a blur event before the tab switches.Removes the global React.CSSProperties augmentation from emitted declaration files.
The misspelled onVisiblityChange prop was renamed to onVisibilityChange.
A zero-sized image now triggers an error status on load instead of remaining in loading status and preventing onLoadingStatusChange from being called.
Security 1
Packages are republished through CI so every package includes a provenance attestation, unlike previous manually published versions.
Deprecations 1
Development now warns when multiple Avatar.Image components are rendered per Avatar.Root, a pattern that is unsupported and can cause unpredictable behavior.
New APIs and options 27
The align prop can now be overridden on ContextMenu.Content.
The side prop can now be overridden on ContextMenu.Content.
The sideOffset prop can now be overridden on ContextMenu.Content.
Added to the functions returned from unstable_createCollection.
Choose automatic activation on hover or focus, or manual activation on click.
Controls whether clicking an already-open submenu trigger keeps it open or toggles it closed; the default preserves existing behavior.
Provides an accessible description for popover content.
Provides an accessible name for popover content.
Lets consumers own the wrapper element previously rendered implicitly by
ScrollArea.Viewport.Disable the viewport's implicit content element so consumers can render
ScrollArea.Contentthemselves.Prevents thumbs from crossing by constraining each thumb to its neighbors' values instead of swapping positions when dragged past them.
Added per-primitive subpath entry points, allowing primitives to be imported directly.
Added CSS custom properties for Navigation Menu item indicators' translate values.
createSlot now accepts generic type arguments to specify the type of element a slot should render and its props.
SlotProps now accepts generic type arguments to specify the type of element a slot should render and its props.
Added a controlled open prop for reading the open state and closing the menu programmatically.
Added the align prop to Menu.SubContent.
Exposed the data-align attribute on the PopperAnchor element.
Exposed the data-side attribute on the PopperAnchor element.
Exposed unstable radio-item composition parts so consumers can access and recompose the visually hidden input; RadioGroupItem still renders them by default.
Exposed unstable Select composition parts so consumers can access and recompose the visually hidden select; Select continues to render them by default.
Added support for presence-based exit animations.
Added focusVisible for non-keyboard thumb interactions, enabling styles using :focus-visible alongside programmatic focus management.
Exposed unstable Slider thumb composition parts so consumers can decouple the visually hidden input from the thumb; SliderThumb continues to render them by default.
Added support for nested Slottable items via a render prop, allowing a slotted element to be wrapped while Slot props and refs are merged onto it.
Exposed unstable Switch composition parts so consumers can access and recompose the visually hidden input; Switch continues to render them by default.
Toast.Announce now allows specifying a container.
Performance 2
Improved tree-shaking so bundlers can drop unused components.
Opening overlays avoids rescanning the document and reinserting focus guards on every mount; the shared pair is cached and written only when its edge position changes.
Behavior and default changes 7
The content element gets a data-state attribute when using NavigationMenu.Viewport, for consistency.
Choose automatic or manual activation; when omitted, the submenu inherits the root setting and can opt back into automatic activation.
Dev-only warnings are no longer emitted when a dialog title and/or description is not rendered.
Single-select toggle groups now use the radiogroup role.
An item with an empty string value can act as a clear option, resetting selection to the placeholder and restoring native optional-select behavior.
Multi-select toggle groups now use the toolbar role.
The Scroll Area viewport style tag remains stable unless the nonce changes.
Fixes and other changes 72
Fixed a type regression so callback props declared as methods accept handlers whose parameter is narrower than the prop's.
All optional types now allow explicit undefined for compatibility with TypeScript's exactOptionalPropertyTypes flag.
FocusScope no longer throws a TypeError in test environments after teardown.
User-driven changes in form-nested controls are no longer incorrectly treated as programmatic, which could prevent bubbled event handlers from being called.
aria-controls is no longer set on Popover.Trigger while the popover is closed.
Content alignment is corrected when all Select items are disabled.
Programmatic value updates inside a form no longer dispatch a click event from the hidden bubble select that propagates to ancestor onClick handlers.
Programmatic value updates inside a form no longer dispatch an input event that propagates to ancestor onInput handlers.
Slot no longer throws when an asChild child is a lazy reference whose resolved value is itself a lazy reference.
A bug caused by incorrect tree-shaking in SWC-minified code is fixed.
Toast.Viewport no longer forces a still-hydrating Suspense boundary to client-render.
Tबbing away from a focusable tooltip trigger in a modal popover moves focus to the next element in the popover instead of its root.
The collection context providers it returns now have corrected display names.
Collections no longer keep a stale item order when React moves items in the DOM without remounting them.
Timing bugs in useCallbackRef are fixed.
Id strings from a component and its child are merged, normalized, and deduplicated instead of one replacing the other.
Nested, portalled layers inside a modal Dialog no longer have interactions broken by the modal layer's focus trap and scroll restrictions.
A submenu's default value is no longer reset when an external element receives focus before the menu opens.
Compatibility issues with React Server Components were fixed.
The
asChildprop now merges props onto the consumer's element rather than the implicit content element.Internal event handlers are no longer called on disabled items.
A paused toast now auto-closes after its duration changes while the timer is paused.
Reverted breaking changes that caused compatibility issues with React Server Components.
Fixed a regression that erased primitive types to any when importing primitives from the root entry point.
Programmatic value updates to Checkbox, Switch, or RadioGroup inside a form no longer dispatch a click event from the hidden bubble input that propagates to ancestor onClick handlers.
Fixed dev-only checks so dev-warnings are dropped from production builds.
Fixed broken ARIA references when title or description elements are not rendered.
Now called when a slider thumb is dragged across another thumb.
Fixed overriding inline animation style.
Pressing Escape no longer removes non-focused toasts.
Children are no longer mounted to the DOM twice.
Popover components now allow
RefObject<Measurable | null>as the prop type.Re-anchors to the latest pointer position when re-triggered while open.
Background nested popovers no longer close all layers when an outside click occurs.
Calling an event handler without an argument no longer throws or prevents successive event handlers from being called.
Can be rendered outside of Form.Field without causing a runtime error.
No longer intercept Space or Enter keys originating from focusable descendants.
Prevents stale handlers on React 19.2.
Values are updated when the associated form is reset.
Resets to 0 when a corner is removed, preventing a permanent gap on the remaining scrollbar.
Items are auto-focused on mount when inside a Focus Scope component.
Keyboard stepping from a value off the step grid now snaps to the next step-aligned value in the direction of travel, matching native range input behavior.
Fixes an infinite re-render loop in React 19 caused by unstable composed ref callback references.
Clears the close timer when Toast components unmount, preventing memory leaks and errors in test environments.
Prop type definitions now include asChild for all Password Toggle Field component parts.
An avatar's fallback is displayed again if its image component unmounts.
Fixed submenu misalignment when using custom portals.
Outside interactions stopped by extension UI overlays no longer dismiss dialogs or popovers.
Fixed Duplicate index signature errors that surfaced when consuming multiple packages together.
Menus and submenus no longer remain open after a window loses focus.
Typeahead search no longer focuses an element that no longer exists.
Fixed triggers referencing non-existent elements with aria-controls after their content is removed from the DOM.
Submenus no longer remain expanded after reopening on long-press touch events.
Fixed iOS text selection and editing on HTML inputs within dialogs.
Fixed disabled pointer events in closed dialogs.
Pasted values are read as text/plain when the legacy Text clipboard format is unsupported.
Fixed focus management issues in React 19.2 and later.
Pasted values longer than the field are truncated to its length.
Fixed a Maximum update depth exceeded error on pages with many popper instances.
Fixed a Maximum update depth exceeded bug in React 19 when a child has an unstable ref.
Fixed the missing data-state attribute on Scroll Area scrollbars.
The bubble hidden input submits an empty string when no value is selected.
Fixed unexpected closing after touch-scrolling content inside an open shadow DOM.
Fixed invalid prop errors when SelectValue is used with both asChild and a placeholder.
Fixed unresponsive thumbs when step values are very small.
Fixed focus bugs for sliders in a scrollable context.
Fixed an infinite React 19 re-render loop caused by creating a new ref callback on every render.
Improved error messages for invalid slot children.
A skipDelayDuration of 0 now works as expected when moving between triggers.
Fixed a runtime error when an event target is not a Node.
Added missing use client directives to modules that caused errors in RSC modules.
Uses React's built-in useSyncExternalStore in React 18 and later, with a fallback for earlier versions, avoiding ESM bundle crashes caused by the shim.