0

Installation

Register the @ondo-ui registry and add your first component.

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:

bunx --bun shadcn@latest init

Register the registry

Add the @ondo-ui namespace to the registries field of your components.json:

components.json
{
  "registries": {
    "@ondo-ui": "https://ui.ondo.dou.so/r/{name}.json"
  }
}

Add the theme

Install the ondo theme first — it brings the Pretendard and Monaspace Neon fonts plus the base CSS variables:

bunx --bun shadcn@latest add @ondo-ui/theme @ondo-ui/theme-provider

Add components

Add any component by name. Dependencies such as utils are resolved automatically:

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>
}