Components
- 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
- 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
Compositions
Utilities
The shadcn CLI does not scaffold a new Laravel app. Start by creating a Laravel app with the React starter kit, then choose how to configure Ondo UI.
Create Project#
laravel new my-app
cd my-appChoose the React starter kit when prompted. If you already have Laravel with React and Inertia configured, skip this step.
Use the CLI#
Run the CLI#
bunx --bun @dou.so/ondo-ui@latest init -t laravelThe command installs the Ondo theme and provider, configures the @ondo-ui registry, and keeps the Laravel frontend paths detected by shadcn.
Existing Project#
Register the Ondo Registry#
Add the @ondo-ui namespace to components.json:
{
"registries": {
"@ondo-ui": "https://ui.ondo.dou.so/r/{name}.json"
}
}Add the Theme and a Component#
bunx --bun shadcn@latest add @ondo-ui/theme @ondo-ui/theme-provider npx shadcn@latest add @ondo-ui/button
The component is placed in the configured frontend source directory. Follow the theming guide for ThemeProvider setup.
Use the Component#
import { Button } from "@/components/ui/button"
export default function Example() {
return <Button>Click me</Button>
}