Getting started

Using with AI

llms.txt, registry addresses and ready-made prompts — let Claude Code, Cursor, Copilot or any coding assistant find the right Vantu item and add it for you.

llms.txt

An index and the full docs of every item, in plain text.

103 registry items

Each item has a shadcn address with its source and dependencies.

Agent rules

Always-on rules and a Claude Code skill keep output on-system.

llms.txt

No setup: point your assistant at the index, or at the full docs — descriptions, props and source of every item — in one file.

Addresses
https://vantu-ui.vercel.app/llms.txt
https://vantu-ui.vercel.app/llms-full.txt

Install by address

Every component, block, chart and template has a shadcn registry address. Assistants can read it and run the install command for you; the theme tokens and the cx helper come along automatically.

Terminal
npx shadcn@latest add https://vantu-ui.vercel.app/r/data-table.json

Prefer short names? Add Vantu to registries in your components.json, then install with @vantu/<slug>:

components.json
{
  "registries": {
    "@vantu": "https://vantu-ui.vercel.app/r/{name}.json"
  }
}
Terminal
npx shadcn@latest add @vantu/area-chart @vantu/metrics-strip

The full list lives at vantu-ui.vercel.app/r/registry.json. Each item’s JSON also works on its own — for example /r/button.json — with the source, npm dependencies and a link to its docs.

Give your agent the rules

Paste these into AGENTS.md, CLAUDE.md or .cursor/rules/vantu.mdc so every change stays on-system. Claude Code users can install the full skill instead.

INSTRUCTIONS.md
# Vantu UI — rules for coding agents

- This project uses **Vantu UI** (React 19 + Tailwind CSS v4 + React Aria). Before building any UI, check whether a Vantu item already does it: https://vantu-ui.vercel.app/llms.txt
- Install items with `npx shadcn@latest add https://vantu-ui.vercel.app/r/<slug>.json` — never re-create a Vantu component by hand. Read the item's docs page before using its props; never guess a prop.
- Style only with Vantu tokens (`bg-surface`, `bg-subtle`, `text-fg`, `text-fg-secondary`, `text-fg-muted`, `border-line`, `bg-accent`, `shadow-card`…). No raw hex colors, no new shadows or radii.
- Cards use the layered shell: `<Card>` → `<CardHeader icon={<IconTile>…</IconTile>}>` → `<CardBody>`. Tables use the shared table language (rounded `bg-subtle` header pill, 12px rows, hairline separators) via `ui/table` or the Data Table block.
- One primary button per view; secondary actions before the primary one.
- Charts: series colors come from `seriesColors` in fixed order (never cycled); a single series needs no legend; every chart keeps its tooltip and screen-reader table.
- Interactive pieces are React Aria components — keep labels (`aria-label` on icon-only buttons) and keyboard support intact.
- Merge classes with `cx()` from `@/utils/cx`.

Agent skill → adds a workflow, decision rules, the full catalog and a review checklist to Claude Code.

Example prompts

Starting points that send your assistant to the right docs before it writes any code.

Prompt 1
Read https://vantu-ui.vercel.app/llms.txt, then build a CRM overview page with Vantu:
a Metrics Strip with sparklines, an Area Chart comparing this year to last year,
and a Data Table of deals with stage views and bulk actions.
Install each item with the shadcn CLI from its /r/<slug>.json address.
Prompt 2
Use Vantu's Data Table block for our customers list. Read its docs at
https://vantu-ui.vercel.app/blocks/data-table first, keep its structure and styles,
and only configure columns, views, search and bulk actions.
Prompt 3
Review src/app/dashboard against Vantu's rules (https://vantu-ui.vercel.app/llms.txt):
replace hand-built cards, tables and charts with Vantu items and list what you changed.

What each address returns

  • /llms.txtDocs pages and every item with its one-line purpose and install command.
  • /llms-full.txtEverything in llms.txt plus props and the full source of every component, block and chart.
  • /r/registry.jsonThe shadcn registry index: every item with its address.
  • /r/<slug>.jsonOne item: source files (with their local imports), npm dependencies and the vantu-base dependency.
  • /r/vantu-base.jsonTheme tokens, typography and global styles, and the cx helper.