- Accordion
- Alert
- Alert Dialog
- Aspect Ratio
- Attachment
- Avatar
- Badge
- Breadcrumb
- Bubble
- Button
- Button Group
- Calendar
- Card
- Carousel
- Chart
- Checkbox
- Collapsible
- Combobox
- Command
- Context Menu
- Date Picker
- Desktop Window
- Dialog
- Drawer
- Dropdown Menu
- Empty
- Field
- Frame
- Heading
- Hover Card
- Input
- Input Group
- Input OTP
- Item
- Kbd
- Label
- Live Waveform
- Marker
- Menubar
- Message
- Message Scroller
- Meter
- Meter Ring
- Native Select
- Navigation Menu
- NumberCount
- Pagination
- Paragraph
- Popover
- Progress
- Progress Ring
- Questionnaire
- Radio Group
- Resizable
- Scroll Area
- Select
- Separator
- Sheet
- Sidebar
- Skeleton
- Slider
- Spinner
- Stepper
- Switch
- Table
- Tabs
- Textarea
- Timeline
- Toast
- Toggle
- Toggle Group
- Tooltip
Recommended for new projects: Use the Ondo CLI to initialize your framework, configure the @ondo-ui registry, and install the framework-compatible theme.
Choose the setup that matches your starting point.
Scaffold a supported template directly from the terminal.
Add Ondo UI to an app you already created.
Use the CLI#
Use the Ondo CLI to scaffold a new project, configure the registry, and install the initial theme directly from the terminal. See the CLI reference for the complete command list:
bunx --bun @dou.so/ondo-ui@latest init -t [framework]Supported templates: next, vite, start, react-router, and astro.
For Laravel, create the app first with laravel new, then run bunx --bun @dou.so/ondo-ui@latest init -t laravel from the app directory.
Existing Project#
Each framework guide includes an Existing Project section with the manual setup steps for that framework.
Pick your framework below and follow that path.
Choose Your Framework#
For Laravel, start with laravel new before using bunx --bun @dou.so/ondo-ui@latest init.
Prerequisites#
ondo-ui components assume a project set up with the shadcn CLI — Tailwind CSS v4, a components.json, and the cn() utility. If you are starting fresh, choose a framework above to initialize the project first.
Add the theme#
The Ondo CLI installs the framework-compatible theme automatically. It also adds the @ondo-ui namespace to components.json.
Add components#
Use the Ondo CLI to browse Components and Compositions in a grouped menu:
bunx --bun @dou.so/ondo-ui addYou can also install items directly, preview changes, or install every menu-visible item:
bunx --bun @dou.so/ondo-ui add button empty-view
bunx --bun @dou.so/ondo-ui add button --dry-run
bunx --bun @dou.so/ondo-ui add --all
bunx --bun @dou.so/ondo-ui add -ainit replaces template stock components (such as the starter button.tsx)
with their @ondo-ui counterparts automatically — mixing the two breaks
typechecking. If a project was initialized with an older CLI and typechecking
fails around a stock component, reinstall it once with --overwrite:
bunx --bun @dou.so/ondo-ui add button --overwriteCompositions such as empty-view and number-badge are shown separately from
registry UI components. Dependencies such as utils are resolved automatically.
Use the official shadcn command directly when preferred:
bunx --bun shadcn@latest add @ondo-ui/button
Then import it from your project:
import { Button } from "@/components/ui/button"
export default function Example() {
return <Button>Click me</Button>
}The Ondo CLI supports the full shadcn command surface: search (list alias),
view, docs, diff (translated to add --diff), apply, info, migrate,
eject, mcp, preset, build, and registry. Use --cwd <path> to target
another project. See the CLI reference for the full command
reference and examples.