Zum Inhalt springen
Kitbay
Skill

migrate-radix-to-base

MITAktualisiert am 11. Nov. 2026127.892GitHub-Sterne

A skill from the shadcn/ui project that switches the primitives under a React app's components from Radix UI to Base UI while keeping the project building at every step.

Was der Skill vermittelt

A skill from the shadcn/ui project that switches the primitives under a React app's components from Radix UI to Base UI while keeping the project building at every step. It checks the project with the shadcn CLI, requires a clean git branch and a baseline build, and installs Base UI next to Radix until the last component is done. For shadcn projects it compares the stock Radix and Base versions to carry over the user's customisations, and for hand-written code it applies mapping tables. By default it migrates one component at a time, repointing callers before swapping files, and writes a short report per component listing changes, behaviour differences and what to check by hand. It ships no scripts.

Funktionen

  • Migrate shadcn/ui components from Radix UI to Base UI
  • Keep user customisations when swapping component bases
  • Migrate one component at a time or a whole project
  • Write a migration report for each component