# Radix -> Base UI migration mapping Sources: (1) mechanical diff of the 61 component pairs in `apps/v4/registry/bases/{radix,base}/ui/` (ground truth, authored by us), (2) `radix-ui@1.4.3` package exports, (3) base-ui.com docs index for `@base-ui/react@1.6.0`. Built 2026-07-02 as the knowledge base for the migration agent's `primitives/` skills. ## Coverage matrix All radix-ui exports, classified for migration: | Radix primitive | Base UI target | Class | |---|---|---| | Accordion | Accordion | direct (Content->Panel) | | AlertDialog | Alert Dialog | restructured (Overlay->Backdrop, Content->Popup, Cancel->Close, Action dropped) | | AspectRatio | none | missing: plain div + CSS `aspect-ratio` (`--ratio` var) | | Avatar | Avatar | direct | | Checkbox | Checkbox | direct (cleanest 1:1) | | Collapsible | Collapsible | direct (Content->Panel) | | ContextMenu | Context Menu | restructured (menu mapping) | | Dialog | Dialog | restructured (Overlay->Backdrop, Content->Popup) | | DropdownMenu | Menu | RENAMED + restructured (canonical menu mapping) | | Form | Form + Field + Fieldset | restructured (split into three) | | HoverCard | Preview Card | RENAMED + positioner model | | Label | none | missing: native `