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
103 registry items
Agent rules
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.
https://vantu-ui.vercel.app/llms.txt
https://vantu-ui.vercel.app/llms-full.txtInstall 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.
npx shadcn@latest add https://vantu-ui.vercel.app/r/data-table.jsonPrefer short names? Add Vantu to registries in your components.json, then install with @vantu/<slug>:
{
"registries": {
"@vantu": "https://vantu-ui.vercel.app/r/{name}.json"
}
}npx shadcn@latest add @vantu/area-chart @vantu/metrics-stripThe 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.
# 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.
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.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.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.