Migration guides
Step-by-step notes for major @radui/ui upgrades. Patch and minor releases should be drop-in when the changelog reports no breaking changes.
For day-to-day upgrades, start with Upgrade & codemods and the GitHub Releases page.
How to use these guides
Each major guide lists:
- Breaking changes — APIs or behavior you must update
- Recommended updates — non-breaking improvements worth adopting
- Verification — tests and manual checks before shipping
When a guide references imports, use per-component entrypoints (@radui/ui/Button) unless the migration note says otherwise.
Available guides
| Release | Guide | Status |
|---|---|---|
1.x | Not published yet | Planned when the first major breaking release ships |
There is no 1.x migration guide yet because @radui/ui 0.x releases have not shipped a documented major breaking bump requiring a standalone guide. This page will link to version-specific guides as they are added.
Before every major upgrade
- Read the release changelog and changeset notes for
"@radui/ui": major. - Search your app for deprecated props or renamed exports called out in the release.
- Run your unit, integration, and accessibility tests.
- Smoke-test overlays (Dialog, Popover, Select), forms, and theme appearance in both light and dark modes.
- If you import
@radui/ui/themes/default.css, confirmTheme classNamespace="rad-ui"still matches your selectors.
Contributing a migration guide
When you ship a major release:
- Add
docs/app/docs/guides/migration-guides/v<major>-migration.mdx(or a dedicated route) with before/after examples. - Link it from this index table.
- Reference the guide from the major changeset body (Changeset quality).
- Add codemod instructions to Upgrade & codemods when automation exists.