Getting Started

Installation

UarUI is a public shadcn/ui registry. Add @uarui to your components.json once and install any component directly via the shadcn CLI.

1. Add the @uarui registry

Add the @uarui entry to your components.json file:

components.json
{
  "$schema": "https://ui.shadcn.com/schema.json",
  "registries": {
    "@uarui": "https://ui.uarusoft.com.br/r/{name}.json"
  }
}

2. Install components

Run the shadcn CLI to add any UarUI component directly to your project:

pnpm dlx shadcn@latest add @uarui/button

3. Install the UarUI theme tokens

pnpm dlx shadcn@latest add @uarui/theme

Import the UarUI tokens file into your globals.css right after Tailwind CSS v4:

src/app/globals.css
@import "tailwindcss";
@import "./tokens.css";