Compare Primitives for shadcn/ui
All 670 7Ovr blocks install with Base UI, Radix or React Aria. Compare the styles, setup and source for the library your project uses.
pricing-2Start Free Trial
Base UI
DefaultCompose links with the render prop. Explore Base UI
Radix UI
Compose links with asChild. Explore Radix
React Aria
Build links with LinkButton. Explore React Aria
Not sure which library your project uses? Check style in components.json.
- Base UI
- A
base-*style, theshadcn initdefault. - Radix UI
radix-lyraorradix-nova, on Tailwind CSS v4.- React Aria
aria-lyraoraria-nova, on Tailwind CSS v4.
Block, Template, and Kit Coverage
Install blocks with any of the three libraries. Templates, starters and Website Kits use Base UI.
Blocks
All Three Libraries243 Free and 427 Pro blocks for Base UI, Radix and React Aria. Browse Blocks
Templates
Base UI25 complete pages, from landing pages to dashboards. Browse Templates
Starters
Base UIFree Next.js and Vite projects with shadcn/ui and the registry set up. Compare Starters
Website Kits
Base UI8 complete Next.js sites delivered through GitHub. Browse Website Kits
Compare Block Coverage and Setup
Block previews use Base UI. Choose the registry URLs for the library in your project or compare the three APIs in code.
| Aspect | Base UI | Radix UI | React Aria |
|---|---|---|---|
| Shared Setup |
| ||
| Built for | A new project, or one already on a Base UI style | A project that already uses Radix components | A project that uses React Aria Components |
| Blocks | All 670 blocks | All 670 blocks | All 670 blocks |
| Registry setup | None for Free blocks. The CLI finds @7ovr in the shadcn registry directory | Radix registry URLs for Free and Pro | React Aria registry URLs |
| Styles | A base-* style, the shadcn init default | radix-lyra or radix-nova | aria-lyra or aria-nova |
| Composition | The render prop | asChild | Dedicated primitives and LinkButton for links |
| Beyond blocks | All 25 templates, both starters and 8 Website Kits | Blocks only | Blocks only |
Compare Primitive APIs
See how Base UI, Radix, and React Aria compose links, style state, animate popovers, and handle collapsed accordion content.
pricing-link.tsx
<Button asChild><Button render={<a href="/pricing" />} nativeButton={false}><LinkButton href="/pricing"><a href="/pricing">Pricing</a>PricingPricing</Button></Button></LinkButton>
With asChild, the anchor receives the button styling and behavior.
<AccordionItemvalue="details"value="details"id="details"className="data-[state=open]data-opendata-expanded:bg-muted"/>
Radix sets data-state to open or closed.
<PopoverContentPopoverContentPopoverclassName="data-[state=open]:animate-intransition-opacity data-starting-style:opacity-0data-entering:animate-indata-[state=closed]:animate-outdata-ending-style:opacity-0data-exiting:animate-out"/>
Target the popover's open and closed states for enter and exit animations.
import { Dialog as DialogPrimitive as DialogPrimitive } from "radix-ui""@base-ui/react/dialog""react-aria-components"<DialogPrimitive.Content /><DialogPrimitive.Popup /><Dialog />
Import Dialog from radix-ui and render its Content part.
<Accordion type="single" collapsible hiddenUntilFound><AccordionItem value="details"value="details"id="details"><AccordionTrigger>Details</AccordionTrigger><AccordionContent forceMount>{answer}</AccordionContent></AccordionItem></Accordion>
Add forceMount to keep the panel mounted. Handle its closed visibility in your styles.
Move a Radix Project to Base UI
You can install blocks in your existing Radix project. Move to Base UI when you also want the templates or prefer the library new shadcn/ui projects start on.
Your Radix project
Switch the Style
Commit your work, then set
styleincomponents.jsonto a Base UI style such asbase-nova. If you added the Radix registry URLs, remove the@7ovrentry so the CLI goes back to the default registry, and point@7ovr-proat the Base UI Pro registry URL.components.json
Removed: "style": "radix-nova"Added: "style": "base-nova"Reinstall Components and Blocks
Re-add the shadcn/ui components you use by name, not with
--all. Pass--overwriteonly for the ones you never edited, and carry your changes into the Base UI version of the rest. Then run the install command again for each 7Ovr block already in the project, folding your local edits into the new source.Terminal
pnpm dlx shadcn@latest add button dialog --overwrite pnpm dlx shadcn@latest add @7ovr/hero-1Update Your Own Code
Replace
asChildwithrender, addnativeButton={false}to a button rendered as a link, and rename state selectors such asdata-[state=open]todata-open. The side-by-side examples cover the rest.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"Check the HTML
Base UI unmounts closed panels by default. Where collapsed content should stay in the HTML, add
hiddenUntilFoundto an Accordion andkeepMountedto a Tabs panel, then view the page source to confirm.faq.tsx
Added: <Accordion hiddenUntilFound>Added: <TabsContent keepMounted>
On Base UI. Your project can now install 7Ovr blocks and templates in their Base UI versions.



