shadcn-ui/ui

migrate-radix-to-base

Migrates React projects and components from Radix UI to Base UI. Use when asked to migrate from radix, move to base-ui, convert radix primitives, or switch a shadcn project's base library. Handles single components ("migrate accordion") and whole projects.

28K installs 126K stars

Before you install

Last update
Files in folder
10
Scripts
No script files found
SKILL.md size
9.1 KB (about 2,328 tokens of context each time it loads)
License
MIT
Source on GitHub
shadcn-ui/ui

Skills are plain text instructions the agent follows, sometimes with scripts. Check the source, prefer repositories with many installs and stars, and read any script it ships.

Install

npx skills add shadcn-ui/ui@migrate-radix-to-base

Runs in a terminal with Node.js 18 or newer. Add -y to skip the prompts and -g to install for every project instead of this one.

Install for your agent

npx skills add shadcn-ui/ui@migrate-radix-to-base --agent claude-code -y
Project install writes to
.claude/skills/migrate-radix-to-base
Global install writes to
~/.claude/skills/migrate-radix-to-base

Start a new session afterwards so the agent picks the skill up. In Claude Code you can also call it directly with /migrate-radix-to-base.

What it does

Radix UI - Base UI migration You migrate shadcn wrappers, hand-rolled radix compositions, and their consumers to @base-ui/react, keeping the project buildable at every step. Be precise; never guess a mapping. When a prop or part is not in these reference files, check nodemodules/@base-ui/react//.d.ts before transforming, and record gaps in the report. Preflight (always) 1. npx shadcn@latest info --json (or the project's runner): gives the current base, STYLE (e.g. radix-lyra), tailwind version, aliases, installed components, and package manager. Trust it over inference. 2. Detect the package…

Excerpt from the skill's own SKILL.md. Read the full file on GitHub before installing: skills run with your agent's permissions.

Categories

Related skills

  • shadcn

    shadcn-ui/ui

    Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", "switch to --preset", and for building a design system or applying a DESIGN.md or brand spec to shadcn/ui.

    112K installs 126K scriptsDesign & UIReact & Next.jsDocumentation
  • frontend-design

    anthropics/skills

    Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

    999K installs 182KDesign & UI
  • vercel-react-best-practices

    vercel-labs/agent-skills

    React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

  • web-design-guidelines

    vercel-labs/agent-skills

    Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

  • design-taste-frontend

    leonxlnx/taste-skill

    tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML/CSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, "AI-made", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.

    629K installs 98K scriptsDesign & UIReact & Next.jsMarketing
  • high-end-visual-design

    leonxlnx/taste-skill

    Teaches the AI to design like a high-end agency. Defines the exact fonts, spacing, shadows, card structures, and animations that make a website feel expensive. Blocks all the common defaults that make AI designs look cheap or generic.

← Search skills

/skills/shadcn-ui/ui/migrate-radix-to-base/