Skip to content
VinUIAI tools

AI tools

AI coding tools like Claude Code, Codex, Cursor and Copilot can run terminal commands, so they use VinUI the same way you do: through the CLI. Nothing extra to install or connect.

How it works

Ask for what you want ("add a sign-in page", "I need a date picker in this form"). The tool runs the CLI, which copies the real component code into your project, in your framework, with everything it depends on. Your style and accent come from vin.css, so the result matches the rest of your app.

What the AI runs
npx @vinish/ui list
npx @vinish/ui add date-picker
npx @vinish/ui add login-01

Because the code is in your project, the tool can then read it and wire it up like any other file.

Project rules

To make sure the tool reaches for VinUI first, add a few lines to its instructions file: CLAUDE.md (Claude Code), AGENTS.md (Codex and others), .cursor/rules (Cursor) or .github/copilot-instructions.md (Copilot).

CLAUDE.md or AGENTS.md
## UI components
This project uses VinUI (https://vinish.dev/ui). Settings are in vin.json.
- Add components and blocks with the CLI, never by hand:
  npx @vinish/ui add <name>     (e.g. dialog, date-picker, login-01, dashboard-01)
- See what exists: npx @vinish/ui list
- Styling comes from vin.css and the vin-* classes. Don't add other CSS frameworks.
- Docs and examples for any component: https://vinish.dev/ui/components/<name>/

llms.txt

Chat assistants that read web pages can use /ui/llms.txt (an index of every component and block) or /ui/llms-full.txt (with the HTML for each component). They're rebuilt with every release.