596 Blocks on Base UI 1.9 (opens in a new tab)

From Radix to Base UI: what changes in shadcn/ui.

Base UI is a library of unstyled, accessible React components from the creators of Radix, Floating UI and Material UI. I built all 596 7Ovr blocks on it from the start, and five changes cover nearly everything you will notice.

Since July 2026, shadcn/ui defaults to Base UI for new projects. A fresh shadcn init uses Base UI unless you choose Radix.

Five changes, side by side.

Pick one and use the switch to flip the same code between the two libraries. Everything else is the shadcn/ui you know, and every block in the catalog is written this way.

pricing-link.tsx

<Button asChild>
<a href="/pricing">Pricing</a>
</Button>

Links also take nativeButton={false}. There is no asChild anywhere in the catalog.

From a Radix project to Base UI.

Changing components.json alone migrates nothing: the primitives you installed are still Radix. Four steps, in this order.

Your Radix project

  1. 1. Switch the style

    Commit first, then set style in components.json to a Base UI style such as base-nova.

    components.json

    {
    Added: "style": "base-nova"
    }
  2. 2. Reinstall your primitives

    Re-add the components you use with --overwrite. Name them rather than using --all, which adds every component.

    Terminal

    pnpm dlx shadcn@latest add button dialog --overwrite
  3. 3. Fix your own code

    Replace asChild with render, and data-[state=open] with data-open, and so on.

    pricing-link.tsx

    Removed: <Button asChild>
    Added: <Button render={<a />} nativeButton={false}>
    Removed: className="data-[state=open]:animate-in"
    Added: className="data-open:animate-in"
  4. 4. Check the HTML

    View the source of a page with an accordion or tabs, and add hiddenUntilFound where the content matters.

    faq.tsx

    Added: <Accordion hiddenUntilFound>

On Base UI. Every 7Ovr block installs as it is.

Understand how shadcn/ui blocks work on Base UI, what changes for Radix projects, and how to install and customize them.

Not as they are. The blocks call Base UI APIs such as render, which Radix components reject. Switch the style in components.json to a base-* style and reinstall your primitives first, as the steps on this page describe. A project created by a recent shadcn init already uses a Base UI style.

Not covered here? Email me at hello@7ovr.com or find me on X at @7ovrui⁠ (opens in a new tab).