Getting Started

Token UI Registry

Learn how to use the Token UI Registry with shadcn/ui.

The Registry gives you instant access to production-ready components. Add it once, then pull in flexible, composable blocks by name—no locked templates, just scalable pieces you can tailor to your project.

Add registry

Add the ToUI registry namespace to your components.json:

{
  "registries": {
    "@toui": "https://toui.dev/r/{name}.json"
  }
}

For more info, Learn more about registry config from Shadcn UI docs here.

Usage

Install blocks via the shadcn CLI using the @toui/{name} syntax.

pnpm dlx shadcn@latest add @toui/statistic-card-1

Install components via the shadcn CLI using the @toui/{name} syntax.

pnpm dlx shadcn@latest add @toui/alert

Each block and component has CLI commands to copy and paste into your project.

We use cookies

We use cookies to ensure you get the best experience on our website. For more information on how we use cookies, please see our cookie policy.

By clicking Accept, you agree to our use of cookies.
Learn more.