HomeDocsComponentsBlocksChartsThemes
Introduction
  • Introduction
  • Installation
  • Themes
  • Artwork
  • llms.txt
Components
  • Accordion
  • Alert
  • Alert Dialog
  • Amount
  • Aspect Ratio
  • Audio Player
  • Avatar
  • Avatar Upload
  • Badge
  • Banner
  • Brand SVG
  • Breadcrumb
  • Button
  • Button Group
  • Calendar
  • Card
  • Carousel
  • Chart
  • Checkbox
  • Code Block
  • Collapsible
  • Color Picker
  • Combobox
  • Command
  • Context Menu
  • Copy Button
  • Countdown
  • Data Grid
  • Data Table
  • Date Picker
  • Date Range Picker
  • Description List
  • Device Mockup
  • Dialog
  • Direction
  • Dot Loader
  • Drawer
  • Dropdown Menu
  • Empty
  • Field
  • File Upload
  • Form Guide
  • Hover Card
  • Icon Tile
  • Image Export
  • Input
  • Input Group
  • Input OTP
  • Item
  • Kanban
  • Kbd
  • Label
  • League Table
  • Marquee
  • Match Score
  • Meter
  • Multi Select
  • Native Select
  • Number Field
  • Pagination
  • Password Strength
  • Phone Input
  • Popover
  • Progress
  • Progress Circle
  • Radio Group
  • Rating
  • Resizable
  • Responsive Dialog
  • Rich Text Editor
  • Scroll Area
  • Segmented Control
  • Select
  • Separator
  • Sheet
  • Sidebar
  • Signature
  • Skeleton
  • Slider
  • Sonner
  • Sortable
  • Spinner
  • Stat
  • Stat Tabs
  • Stepper
  • Switch
  • Table
  • Tabs
  • Tag Input
  • Terminal
  • Textarea
  • Time Field
  • Timeline
  • Toast
  • Toggle
  • Toggle Group
  • Tooltip
  • Tree
  • Typography
  • Video Player
  • Window Mockup
  • Accordion
  • Alert
  • Alert Dialog
  • Amount
  • Aspect Ratio
  • Audio Player
  • Avatar
  • Avatar Upload
  • Badge
  • Banner
  • Brand SVG
  • Breadcrumb
  • Button
  • Button Group
  • Calendar
  • Card
  • Carousel
  • Chart
  • Checkbox
  • Code Block
  • Collapsible
  • Color Picker
  • Combobox
  • Command
  • Context Menu
  • Copy Button
  • Countdown
  • Data Grid
  • Data Table
  • Date Picker
  • Date Range Picker
  • Description List
  • Device Mockup
  • Dialog
  • Direction
  • Dot Loader
  • Drawer
  • Dropdown Menu
  • Empty
  • Field
  • File Upload
  • Form Guide
  • Hover Card
  • Icon Tile
  • Image Export
  • Input
  • Input Group
  • Input OTP
  • Item
  • Kanban
  • Kbd
  • Label
  • League Table
  • Marquee
  • Match Score
  • Menubar
  • Meter
  • Multi Select
  • Native Select
  • Navigation Menu
  • Number Field
  • Pagination
  • Password Strength
  • Phone Input
  • Popover
  • Progress
  • Progress Circle
  • Radio Group
  • Rating
  • Resizable
  • Responsive Dialog
  • Rich Text Editor
  • Scroll Area
  • Segmented Control
  • Select
  • Separator
  • Sheet
  • Sidebar
  • Signature
  • Skeleton
  • Slider
  • Sortable
  • Spinner
  • Stat
  • Stat Tabs
  • Stepper
  • Switch
  • Table
  • Tabs
  • Tag Input
  • Terminal
  • Textarea
  • Time Field
  • Timeline
  • Toast
  • Toggle
  • Toggle Group
  • Tooltip
  • Tree
  • Typography
  • Video Player
  • Window Mockup
  • Accordion
  • Alert
  • Alert Dialog
  • Amount
  • Aspect Ratio
  • Audio Player
  • Avatar
  • Avatar Upload
  • Badge
  • Banner
  • Brand SVG
  • Breadcrumb
  • Button
  • Button Group
  • Calendar
  • Card
  • Carousel
  • Cart Button
  • Cart Line Item
  • Cart Summary
  • Chart
  • Checkbox
  • Code Block
  • Collapsible
  • Color Picker
  • Combobox
  • Command
  • Context Menu
  • Copy Button
  • Countdown
  • Data Grid
  • Data Table
  • Date Picker
  • Date Range Picker
  • Description List
  • Device Mockup
  • Dialog
  • Direction
  • Dot Loader
  • Drawer
  • Dropdown Menu
  • Empty
  • Field
  • Fill Blank
  • File Icon
  • File Upload
  • Form Guide
  • Hover Card
  • Icon Tile
  • Image Export
  • Input
  • Input Group
  • Input OTP
  • Item
  • Kanban
  • Kbd
  • Label
  • League Table
  • Marquee
  • Match Score
  • Menubar
  • Meter
  • Multi Select
  • Native Select
  • Navigation Menu
  • Number Field
  • Pagination
  • Password Strength
  • Person Avatar
  • Phone Input
  • Popover
  • Price
  • Product Card
  • Progress
  • Progress Circle
  • Radio Group
  • Rating
  • Resizable
  • Responsive Dialog
  • Rich Text Editor
  • Scroll Area
  • Segmented Control
  • Select
  • Separator
  • Sheet
  • Sidebar
  • Signature
  • Skeleton
  • Slider
  • Sonner
  • Sortable
  • Spinner
  • Stat
  • Stat Tabs
  • Stepper
  • Switch
  • Table
  • Tabs
  • Tag Input
  • Terminal
  • Textarea
  • Time Field
  • Timeline
  • Toast
  • Toggle
  • Toggle Group
  • Tooltip
  • Tree
  • Typography
  • Video Player
  • Window Mockup
  • Accordion
  • Alert Dialog
  • Alert
  • Amount
  • Aspect Ratio
  • Audio Player
  • Avatar Upload
  • Avatar
  • Badge
  • Banner
  • Bot Avatar
  • Brand SVG
  • Breadcrumb
  • Button Group
  • Button
  • Calendar
  • Card
  • Carousel
  • Cart Button
  • Cart Line Item
  • Cart Summary
  • Chart
  • Checkbox
  • Code Block
  • Collapsible
  • Color Picker Primitive
  • Combobox
  • Command
  • Context Menu
  • Copy Button
  • Countdown
  • Data Grid
  • Data Table
  • Date Picker
  • Date Range Picker
  • Description List
  • Device Mockup
  • Dialog
  • Direction
  • Dot Loader
  • Drawer
  • Dropdown Menu
  • Empty
  • Field
  • File Icon
  • File Upload
  • Fill Blank
  • Form Guide
  • Hover Card
  • Icon Tile
  • Image Export
  • Input Group
  • Input OTP
  • Input
  • Item
  • Kanban
  • Kbd
  • Label
  • League Table
  • Marquee
  • Match Score
  • Menubar
  • Meter
  • Multi Select
  • Native Select
  • Navigation Menu
  • Number Field
  • Pagination
  • Password Strength
  • Person Avatar
  • Phone Input
  • Popover
  • Price
  • Product Card
  • Progress Circle
  • Progress
  • Radio Group
  • Rating
  • Resizable
  • Responsive Dialog
  • Rich Text Editor
  • Scroll Area
  • Segmented Control
  • Select
  • Separator
  • Sheet
  • Sidebar
  • Signature
  • Skeleton
  • Slider
  • Sonner
  • Sortable
  • Spinner
  • Stat Tabs
  • Stat
  • Stepper
  • Switch
  • Table
  • Tabs
  • Tag Input
  • Terminal
  • Textarea
  • Time Field
  • Timeline
  • Toggle Group
  • Toggle
  • Tooltip
  • Tree
  • Video Player
  • Window Mockup
AI
  • Message Scroller
  • Message
  • Bubble
  • Marker
  • Attachment
  • Questionnaire
  • Composer
  • Reasoning
  • Tool Call
  • Approval Card
  • Citations
  • Message Toolbar
Blocks
  • Airtable
  • Airtable Kanban
  • CRM
  • ClickUp List
  • ClickUp Kanban
  • Repeatable Group
  • Command Palette
  • App Shell
  • Record Files
  • Settings Shell
  • Help Panel
  • Note Editor
  • Email Drafts
  • Task List
  • Notifications Panel
  • Dual Pane Sidebar
  • Team Members Panel
  • Mix Pack Builder
  • Record Picker and Date Quick-pick
  • Record List
  • Record Page
  • Sign In and Sign Up
  • Availability Scheduler
  • AI Chat
  • AI Assistant
  • Voice Message
  • Action Bar
  • Notion
  • Banking
  • Lineup Builder
  • Sports Score
  • Standings
  • Strava
  • Sheets
  • Notices
  • Settings
  • Billing
Templates
  • Sign In Page
  • Upload Page
  • Showcase Onboarding
  • Agreement Sign
  • Email
  • Email Composer
  • Share Dialog
  • Integrations
  • Transactions
  • Analytics
Utilities
  • motion
  • sounds
  • scroll-fade
  • shimmer
Another UI. Built on shadcn/ui with Phosphor icons.

Migrating from Radix

PreviousNext

What changes when a component moves from the Radix base to the UI SDK base, the default, with before and after code.

The UI SDK is the default base for Another UI: the create flow and the docs start on it, and its install commands are the ones shown first. Radix stays published and selectable, so nothing breaks until you choose to move. Pick a base in the base switcher on a component page, in the Base menu of the create flow, or with npx shadcn@latest init --base radix, --base base or --base aria. This page covers the ported components (see the UI SDK page).

What stays the same#

  • The look. The UI SDK base uses the same cn- style classes, so Nova (and, after its slot rules are checked, every other style) draws the same component.
  • Component names, data-slot, data-variant and data-size.
  • variant, size, className, orientation, showCloseButton, disabled, value, defaultValue.

The five differences that need code changes#

1. asChild becomes render#

Radix merges a part's props onto its child. UI SDK takes an element in render.

// Radix
<DialogTrigger asChild>
  <Button variant="outline">Open</Button>
</DialogTrigger>
 
// UI SDK
<DialogTrigger render={<Button variant="outline" />}>Open</DialogTrigger>

The Another UI Button, DialogTrigger and DialogClose keep asChild as a shim, so <Button asChild><a href="/x" /></Button> still works. Other parts take render. A custom component used in render must forward props and ref.

The UI SDK has no standalone Slot, so Another UI ships its own in the slot lib: Slot (one child element, the Slot's props merged onto it: classes joined, styles merged, handlers all run, refs composed) for components that only use Radix's Slot for markup, and asChildProps(asChild, children) which turns asChild into render for UI SDK parts. Neither needs radix-ui.

2. No portal, Overlay becomes Backdrop#

UI SDK popups render in the browser's top layer, in place. There is no DialogPortal, SelectPortal or PopoverPortal. DialogOverlay maps to the SDK's DialogBackdrop; our DialogContent draws it for you. Use the container prop when a popup has to live in another DOM container.

Radix CSS variables change: --radix-select-trigger-width becomes --anchor-width, --radix-select-content-available-height becomes --available-height, and --radix-*-transform-origin becomes --transform-origin.

3. Change callbacks get (value, details)#

// Radix
<Tabs onValueChange={(value) => setTab(value)} />
 
// UI SDK
<Tabs
  onValueChange={(value, details) => {
    if (details.reason === "list-navigation") details.cancel()
    setTab(value)
  }}
/>

details carries reason, source and cancel(). A controlled value is a request: if you keep passing the old value, the component stays where it was. An empty Select or Tabs value is null.

4. Names that move#

Radix baseUI SDK baseNote
TabsTrigger, TabsContentwrap TabsTab, TabsPanelour names are unchanged
SelectLabel (group heading)wraps SelectGroupLabelthe SDK's SelectLabel names the trigger, exported by us as SelectTriggerLabel
<SelectValue placeholder><Select placeholder>SelectValue placeholder still works
position="item-aligned"alignItemWithTriggerour position prop sets it
DialogOverlay, DialogPortalDialogBackdrop, none
type="single" | "multiple" (Accordion, ToggleGroup)multiple, values are arraysthe wrappers keep type and string values and translate
RadioGroupItem, onValueChange(string)Radio, onValueChange(string | null, details)a handler typed (v: string) => void needs string | null
forceMount (Collapsible, Accordion)keepMounted
Avatar delayMsdelayimage status callback moved to the Avatar root
Input OTP (input-otp package)@ui-sdk/react/otp-inputonChange and onComplete still work; patterns are named or per-character
Slider invertednonenot supported

5. State attributes and animation#

Radix data-state="open" becomes data-open. The same for data-closed, data-checked, data-selected, data-highlighted (the focused list item), data-pending and data-disabled. Another UI's Tailwind variants data-open, data-closed, data-checked and data-disabled match both forms. The data-selected variant matches only data-selected="true" (React Aria's form), so the UI SDK base writes data-[selected]: instead. data-active has no UI SDK twin: tabs use data-selected. There are no variants for data-pressed or data-expanded; write data-[pressed]: yourself.

The SDK animates with data-starting-style and data-ending-style and keeps closing content mounted until the exit animation ends. Our Nova rules still use tw-animate-css classes on data-open and data-closed.

Overlays and menus#

Alert Dialog, Popover, Tooltip, Hover Card, Dropdown Menu, Context Menu, Menubar, Navigation Menu, Sheet and Drawer follow the five differences above. What is specific to them:

Radix baseUI SDK baseNote
AlertDialogAction, AlertDialogCancelboth wrap the SDK's one close partAction sets value="confirm"; its onClick still runs
*Portal (all ten)nonepopups render in the top layer, in place
PopoverAnchoranchor prop on the contentour PopoverAnchor still works
TooltipContent hiddenrenders nothingthe SDK part ignores hidden, so the wrapper skips it. The SDK sets aria-describedby on every tooltip trigger, open or not, so a hidden one looks the same to assistive tech
TooltipProvider, delayDurationdelay on each Tooltipour provider hands its delay down; the default stays 0 ms, the SDK's own is 600
HoverCard openDelaydelaydefaults are 600 ms to open and 300 ms to close, Radix opened after 700 ms
DropdownMenuLabel and the other menu labelsthe SDK's group labelput it inside a group
variant="destructive" on menu itemsalso sets the SDK's destructiveset for you
ContextMenuTriggerMenuContextTrigger, a div
MenubarMenuthe SDK's Menu inside MenubarMenubar is only the row
Drawer direction (vaul)side on Drawerdirection still works as an alias
Sheet (a Dialog on one edge)the SDK's Dialog on one edgesame as before, no drag; use Drawer for drag and snap points
onEscapeKeyDown, onPointerDownOutside, onFocusOutside, onInteractOutside on DialogContent, SheetContent, DrawerContent; onEscapeKeyDown, onFocusOutside on AlertDialogContentthe same four on Dialog, Sheet and Drawer; Alert Dialog takes the two it has on Radixevent.preventDefault() keeps it open, as on PopoverContent; see the note after this table

The dismissal callbacks on Dialog, Sheet, Drawer and Alert Dialog behave as on Popover: event.preventDefault() keeps the layer open, the caller's onOpenChange never sees a vetoed close, and the events carry the same targets. Escape and an outside press were measured in Chromium against the Radix base on all four. As on Radix, an Alert Dialog never closes on an outside press, so it takes no pointer callbacks. A swipe away from a Drawer has no Radix callback and is not vetoed. onFocusOutside is wired the same way, but a modal dialog traps focus, so it matters for modal={false}, which was not measured.

Menu items: onSelect and closeOnSelect#

Radix gave every menu item onSelect(event), and event.preventDefault() kept the menu open. The SDK's plain item has the same prop. Its checkbox and radio items do not (React treats an onSelect prop on them as the DOM text selection event, so it never fired). Our Dropdown Menu, Context Menu and Menubar add it back on CheckboxItem and RadioItem:

  • It runs once per activation (click, Enter or Space), and event.target is the item. Space typed during typeahead and a disabled item never run it.
  • event.preventDefault() keeps the menu open, as in Radix.
  • closeOnSelect defaults to true here, as in Radix. The SDK's own default for checkbox and radio items is false; pass closeOnSelect={false} to keep a menu open after every toggle.
  • A key held down no longer toggles a checkbox or radio item once per repeat: one press is one toggle. This applies to every checkbox item and radio group, with or without onSelect.
  • Order: on checkbox and radio items the change handler (onCheckedChange, onValueChange) runs first and onSelect second, the reverse of Radix. If the change handler calls details.cancel(), onSelect does not run.
  • One difference: choosing the radio item that is already selected is not a change, so the SDK reports nothing and onSelect does not run for it. With closeOnSelect on (the default) the menu still closes; with closeOnSelect={false} it stays open. So after event.preventDefault() keeps the menu open on a radio item and that item is now selected, the next click on it closes the menu without running onSelect.

CSS variables for these parts:

RadixUI SDK
--radix-*-content-transform-origin--transform-origin
--radix-dropdown-menu-trigger-width--anchor-width
--radix-*-content-available-height--available-height
--radix-navigation-menu-viewport-width, -height--viewport-width, --viewport-height

Triggers and close parts for all ten, the menu items (Dropdown Menu, Context Menu, Menubar) and NavigationMenuLink keep asChild as a shim. Other parts take render.

Style slots: the SDK marks the highlighted menu row with data-highlighted, where Radix relied on focus. Dropdown Menu, Context Menu and Menubar share one new slot, cn-menu-item-ui-sdk, defined in all ten styles.

Pagination, Resizable and Carousel#

Radix baseUI SDK baseNote
Pagination markup, PaginationLink isActivesame markup, or the SDK's page statepass pageCount, total, page, pageSize or controller (any SDK root prop) to switch to the SDK, and keep that choice for the life of the component; PaginationLink then takes page
PaginationContentthe SDK's PaginationListin SDK mode it accepts a function child with items
ResizablePanelGroup directionorientationdirection still works as an alias
aria-orientation stylingdata-orientationset on every part
Carousel opts (Embla)loop, align, axis, startIndex onlystartIndex is zero based; the SDK's defaultPage is one based
Carousel plugins, setApinoneuse page, onPageChange, a controller, defaultPlaying
Carousel transform scrollingnative scroll snapno translate3d on the track

Command and Combobox#

PreviousUI SDK baseNote
Command on cmdkthe SDK's commanditems need a unique value; onSelect(value) still works, the SDK's hook is onAction(value) on Command
shouldFilter={false}, labelfilter={false}, aria-labelthe wrapper maps both; a custom filter has the SDK's signature
CommandInput value, onValueChangequery, onQueryChange on CommandonValueChange on the input still reports typing
data-selected on the highlighted rowdata-highlightednew slot cn-command-item-ui-sdk
Combobox on Base UIthe SDK's comboboxno Portal or Positioner; items is the SDK's list data
ComboboxCollectionnoneuse data items or ComboboxItems
ComboboxChipComboboxChip valuethe chips anchor the popup themselves
ComboboxLabelComboboxLabel is still the group headingthe input's label is ComboboxFieldLabel

Input, Textarea and Input Group were added to the base as plain markup, the same as in the Radix base, because Command and Combobox use them.

Calendar and Date Picker#

PreviousUI SDK baseNote
Calendar on react-day-pickerthe SDK's calendarvalues are ISO strings; selected and onSelect still work and are converted to and from Dates
numberOfMonthsmonthsnumberOfMonths still works
disabled matchersunavailablethe wrapper converts the common matchers; disabled={true} still disables everything
classNames, components, modifiersSDK parts with className and renderno twin
min, max (range length)minDays, maxDaysmin and max are dates now
startMonth, endMonthmin, maxthe year select runs between them
one caption per monthone heading for all monthswith two or more months
CalendarDayButtonthe day cell itselfeach day is a td that takes focus
(none) Date PickerDatePickerthe SDK's typed field with a calendar; new in the base

Sonner and Color Picker#

PreviousUI SDK baseNote
sonner packagethe SDK's toasttoast(message, { description, action: { label, onClick } }), .success, .error, .promise, .dismiss keep their shapes
Toaster theme, richColors, toastOptions, iconsnot readtoasts follow the document's theme and the style slots
toast.customdata plus your own ToastRegionno twin
Toaster expand, visibleToastsexpanded, maxVisiblethe wrapper maps both
next-themesnot needed
Color Picker (app component)the SDK's picker as parts, installed as color-picker-primitivenew in the base, a different API. The name color-picker is the app component, in the UI SDK per-style folder too

Sidebar and Stepper#

Radix baseUI SDK baseNote
Sidebar on Radix Slot, Sheet and Tooltipthe same parts on the local Slot, the UI SDK Sheet and Tooltipno SDK sidebar exists; props, data attributes and slots are unchanged
SidebarTrigger onClick(event)onClick(event, details)the SDK Button passes details and keeps a Promise pending
SidebarMenuButton asChildasChildstill supported, through the local Slot
SidebarMenuButton tooltiptooltipopens only while the sidebar is collapsed on desktop, as before
Stepper on the radix-nova ButtonStepper on the UI SDK Button and Separatorsame parts and props; no completion sound, icons come from the icon placeholder
Skeleton, use-mobilecopies in the baseSidebar needs both
DropdownMenuItem onSelectonClickthe SDK menu item has no onSelect; the prop type-checks as the DOM select event and never fires on a click

Kanban and Sortable#

These are app-level components, one file shared by every base, so the change is in the file itself and Radix-base installs get it too.

BeforeNowNote
Slot from radix-ui for asChildthe small lib/slot.tsx helper, installed with the componentsame behaviour: your element gets the props, classes and ref
radix-ui in the installnot needed by the component file@dnd-kit/* stays. The Button it uses still comes from the registry's radix-nova build, so radix-ui arrives through Button until the per-style items for the UI SDK base exist

Checked on the radix-nova and the ui-sdk-nova bases with the same file: dragging a card to another column, reordering inside a column, reordering columns by their handle, the keyboard (Space, arrows, Space), and an asChild handle.

Audio Player, Date Range Picker and Color Picker#

App-level components, one file shared by every base, so the changes are in the file and Radix-base installs get them.

BeforeNowNote
Audio Player imported DropdownMenu from radix-ui for the speed menu in fullscreenthe base's DropdownMenuContent with a new optional container propadded to the dropdown menu of the Radix, Base UI, React Aria and UI SDK bases: it sets where the menu renders, which fullscreen needs. The UI SDK menu already took it
Date Range Picker imported DateRange from react-day-pickerits own DateRange type, { from, to? }same shape, so the calendar of any base takes it; the Transactions block imports it from the picker
Color Pickerunchangedno direct dependency to remove; proven on the UI SDK base

Three UI SDK base fixes found while proving them: the Slider now honours a caller's data-slot (the Audio Player names its scrubber that way), the Slider's 16 px hit area no longer adds 12 px of layout height (the Radix slider is 4 px tall), and Calendar's hidden cells keep their column so a two month grid lines up.

Markup components#

These have no UI SDK primitive. They are the Radix base files with radix-ui's Slot swapped for the local lib/slot.tsx helper, so a project on the UI SDK base no longer needs radix-ui for them. Classes, parts, props and data-slot names are unchanged.

ComponentsWhat changed
Alert, Card, Empty, Kbd, Message, Spinner, Table, NativeSelect, BotAvatarcopied unchanged, pointed at the UI SDK base's own parts
Badge (with badge-variants), Breadcrumb, ButtonGroup, Item, Marker, Bubble, AttachmentasChild goes through the local Slot
AspectRatiothe CSS aspect-ratio property, no radix-ui. The content is laid over the box as before. The wrapper has no data-radix-aspect-ratio-wrapper attribute
DirectionProvider, useDirectiona small context, no radix-ui. It sets no dir attribute, put that on your html or a wrapper
Form, MatchScore (app components)the same file for every base; Slot comes from lib/slot.tsx

ButtonGroupSeparator, ItemSeparator and the stepper's line are Separators. The UI SDK sets its own data-slot and it beat the one these passed, so the Separator wrapper now puts a caller's data-slot on the element through render.

Rating and Scroll Fade Area (app components) no longer import radix-ui either: Rating is a group of native radio buttons laid over the stars, and Scroll Fade Area is built on the Scroll Area item of your base (new optional props viewportClassName, viewportRef, viewportProps, scrollbars and scrollbarClassName on Scroll Area in every base), keeping only the fade mask itself. Nothing published in /r/another/ui-sdk-nova/ imports radix-ui now.

Simple partials#

Copy Button, Composer, Fill Blank, Phone Input, Tag Input, Password Strength, Progress Circle, Stat Tabs, Responsive Dialog and Avatar Upload are app components: one file each, written against the Radix base's ui files and rewritten for the UI SDK base at install. Their props are the same on both bases. Side by side in Chromium they show the same text, the same controls and, within 4 px, the same height, and the keyboard, focus and dismiss behaviour that the checks cover matches. What they needed was in the base wrappers they sit on, not in their own files:

GapFix in the UI SDK base
PopoverContent ignored Radix's onOpenAutoFocus and onCloseAutoFocus, so the SDK moved focus into the popup of a combobox, the input blurred and the popup closed again, in a loop (Tag Input)both props now work, and event.preventDefault() keeps focus where it is. One gap: when focus is inside the content as it closes, preventDefault() falls back to the SDK's default (the trigger), because that element is about to unmount; a handler that focuses something later (in a frame or a timeout) can see a brief focus flash
onEscapeKeyDown, onPointerDownOutside, onFocusOutside and onInteractOutside on PopoverContentall four work, and event.preventDefault() keeps the popover open. The wrapper runs them when the SDK reports the dismissal (onOpenChange(false, details) with reason escape-key, outside-press or focus-out) and calls details.cancel() if one prevented it. Events as in Radix: onEscapeKeyDown gets the real KeyboardEvent; the other three get a CustomEvent whose detail.originalEvent is the DOM event, and onInteractOutside receives the same event as onPointerDownOutside or onFocusOutside. event.target is the pressed element for an outside press, so anchor.contains(event.target) vetoes as in Radix. For a focus-out it is the element that took focus, as in Radix. detail.originalEvent is the event the SDK reported: usually a pointerdown, but it can be another mouse or touch event, so check pointerType before relying on it. A vetoed close never reaches your own onOpenChange, as in Radix. Closes by the trigger, a close button, window-blur or a controller have no Radix callback and are not vetoed
PopoverAnchor virtualRef (a popover anchored at an editor caret)works: pass a ref to anything with getBoundingClientRect; it is read on every placement
--radix-popover-trigger-widthmapped to the SDK's --anchor-width on PopoverContent, so a popover sized to its field keeps that width
Command's value and onValueChange use null for no highlight where cmdk used "" (Tag Input crashed on null.toLowerCase())the wrapper maps "" to null going in and null to "" coming out, so code written for cmdk keeps working
The SDK Command handles arrow keys and Enter only on its search input, so Fill Blank's list editor without a search field did nothing from the keyboardthe editor handles ArrowUp, ArrowDown, Home, End and Enter itself, on both bases, and names its active item with aria-activedescendant
Copy Button's onClick event is typed for a button on Radix and for any element on the SDK Buttonthe component casts it, so one file fits both
Data Table, Data Grid and Scroll Fade Areano change to Data Table or Data Grid: their parts come from the UI SDK style at install, and sorting, search, filters, selection, paging, row menus, and grid editing and keyboard movement were checked in Chromium against the Radix base. Scroll Fade Area's "is it scrolling" flag is now data-scroll-fade-active (it was data-scrolling), because the UI SDK scroll area sets data-scrolling itself and clears it a moment later; if your own CSS reads data-scrolling on a Scroll Fade Area, switch it
The drag handles of Kanban and Sortable, and Responsive Dialog's onOpenChange (the SDK passes (open, details)) and its Drawer triggertyped so one file fits both; variant and size stay on the handles

One thing differs on screen. A popover renders in place on the UI SDK base, not in a portal on document.body, so its text is part of the component's own DOM (Tag Input's suggestions are inside the field's wrapper). Keep that in mind for tests that read innerText or count buttons.

Installing app components on the UI SDK base#

Another UI's own components (Kanban, Data Table, Stepper and the rest) are published once per style under /r/another/<style>/. The UI SDK base now has its own folder, /r/another/ui-sdk-nova/, so an app component installed from there depends on the UI SDK Button, Input and Sheet, not the Radix ones. None of them imports radix-ui.

pnpm dlx shadcn@latest add https://anotherui.dev/r/another/ui-sdk-nova/kanban.json

The folder holds the names the Radix styles have, less the ones with no UI SDK port yet, plus Date Picker and Color Picker Primitive, which only the UI SDK base has. The list of unported names is the unported field of each base in published.json (kept in scripts/style-ids.mts); at the time of writing for the UI SDK it is Chart, Field, Message Scroller and Questionnaire, and the install pane in the docs reads the generated lib/another-registry.ts. Anything that would lean on a missing name is skipped too. Anything an install pulls in from the root (the slot, utils, sounds and like-burst libs) is free of radix-ui too. The old install URL /r/styles/ui-sdk-nova/color-picker.json now installs the app color picker; the SDK one is color-picker-primitive, and its docs page redirects.

Base UI and React Aria#

/r/another/base-nova/ and /r/another/aria-nova/ work the same way, for the Nova style only for now. Base UI publishes the Radix set less the three components that do not compile there yet (Kanban, Sortable, Responsive Dialog, and what leans on them), plus its Toast; React Aria does the same and also lacks the primitives for a few more. The exact lists are the unported field of each base in published.json. Many app components are still written against Radix parts (asChild triggers, onSelect, part names). A strict tsc on a project with every published item of a style installed found them. The installed set of every published Base UI item compiles. Components that still fail are not published (nor anything that depends on them): they are in unported. To get there the Base UI base takes the Radix shapes where apps use them: asChild on triggers, Button, Badge, Item and Collapsible (it becomes Base UI's render), type and string values on Toggle Group, array callbacks, onValueCommit and thumbLabel on Slider (a number value still gives numbers), checked="indeterminate" on Checkbox, PopoverAnchor with virtualRef, the popover and menu focus and dismissal callbacks, openDelay and closeDelay on Hover Card, and decorative on Separator. The UI SDK base is still hidden from the create flow and publishes its known failures, flagged by the docs pane. The measured names are knownTypeErrors in published.json, and a base's publishKnownBroken says what happens to them: false (Base UI, React Aria) means they are withheld and listed in unported, true (the UI SDK) means they are published and flagged.

React Aria overlays changed shape#

Until 20 Nov 2026 the React Aria base wrote overlays the React Aria Components way: the trigger part was the root and held the button and the popup, and Popover, Dialog, Sheet, AlertDialog, DropdownMenu, HoverCard and Tooltip named the popup. They now follow the same composition as every other base (a root, a trigger, a content part), so app components written for Radix work on aria-nova unchanged.

// before
<PopoverTrigger>
  <Button>Open</Button>
  <Popover placement="bottom start">...</Popover>
</PopoverTrigger>
 
// after
<Popover>
  <PopoverTrigger asChild><Button>Open</Button></PopoverTrigger>
  <PopoverContent align="start">...</PopoverContent>
</Popover>
  • The root takes open, defaultOpen and onOpenChange as well as React Aria's isOpen. The content takes side, align, sideOffset and alignOffset, and still takes React Aria's placement, offset and crossOffset, which win.
  • Popover, Tooltip, HoverCard, Dialog, Sheet and AlertDialog as popups are now PopoverContent, TooltipContent, HoverCardContent, DialogContent, SheetContent and AlertDialogContent; DropdownMenu as the popup is now DropdownMenuContent. DropdownMenu also has checkbox and radio items now (DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem).
  • Not carried over from Radix: onCloseAutoFocus (React Aria always returns focus to the trigger), modal={false} on DropdownMenu (a React Aria menu is always modal), and onOpenAutoFocus and onCloseAutoFocus on DialogContent (React Aria manages dialog focus). The dismissal callbacks do run: on PopoverContent (which becomes non-modal when you pass one, as Radix's popovers are) and on DialogContent (event.preventDefault() keeps it open).
  • DropdownMenuContent aligns to start by default, as the aria base always did; Radix's default is center. Pass align="center" for the Radix placement.
  • Command takes the cmdk props shouldFilter (false keeps every item), loop and label (the list's name, Results if none). CommandEmpty placed in CommandList shows when nothing matches. CommandItem takes value (its id and what the filter matches), keywords, onSelect(value) and disabled. Command's own value and onValueChange (the highlighted item) are not supported, because React Aria's Autocomplete does not expose the highlighted item, so components that need it stay withheld.
  • Select takes onValueChange (the item's value string) and disabled/required. SelectItem takes value and disabled. value and defaultValue are React Aria's own.
  • Calendar takes the react-day-picker shape: mode="single" or mode="range" (not multiple), selected as a Date or { from, to }, onSelect, required, month, defaultMonth, onMonthChange and disabled as true, a date, dates, { before }, { after }, { from, to }, { dayOfWeek } or a function. A range calls onSelect once both ends are chosen, and picking the selected day again keeps it, so a single calendar behaves as required. { before } and { after } are the calendar's own bounds, so the month cannot be moved past them. Without mode, Calendar takes React Aria's own props as before.
  • Every trigger part (PopoverTrigger, DialogTrigger, DropdownMenuTrigger and the rest) takes disabled.
  • Button (also tabIndex, drag handlers and onContextMenu, which React Aria drops, applied to the element), Item (asChild, href, a div by default), Checkbox (tabIndex={-1}), Separator (children), Context Menu items (onSelect, disabled), Select content (side, align), Switch, Toggle, Toggle Group, Slider, Tabs and Collapsible on aria-nova also take the Radix props (disabled, asChild, checked and onCheckedChange, pressed, type and string values, array value and onValueChange, value on tabs, decorative, open). React Aria's own props still work.
  • To move existing code, git grep for Trigger> followed by a popup. The Trigger becomes the root, the first child goes in a new trigger part with asChild, and the popup gets the Content name.

/r/another/published.json lists every base, its styles, what it leaves out (unported), what only it has (extras), its knownTypeErrors and the item names of each style. The CLI reads it.

Things you gain#

  • Button: pending state while a Promise runs, focusableWhenDisabled.
  • Dialog: dismissible and onDismissAttempt for unsaved changes, presentation="sheet" on phones, nested dialogs.
  • Select: multiple, items as data, typeahead before the list opens, search, async lists.
  • Tabs: activation="manual", keepMounted, hiddenUntilFound, a sliding indicator, tabs as links.

Setup#

pnpm add @ui-sdk/react@0.1.0-beta.17 @ui-sdk/core@0.1.0-beta.17

Add @layer ui-sdk; at the top of your global stylesheet, above the Tailwind import. UI SDK needs React 19 or newer and is still in beta (0.1.0-beta).

Agentsllms.txt

On This Page

What stays the sameThe five differences that need code changes1. asChild becomes render2. No portal, Overlay becomes Backdrop3. Change callbacks get (value, details)4. Names that move5. State attributes and animationOverlays and menusMenu items: onSelect and closeOnSelectPagination, Resizable and CarouselCommand and ComboboxCalendar and Date PickerSonner and Color PickerSidebar and StepperKanban and SortableAudio Player, Date Range Picker and Color PickerMarkup componentsSimple partialsInstalling app components on the UI SDK baseBase UI and React AriaReact Aria overlays changed shapeThings you gainSetup