Skip to content
BIU UI/Docs/Using with AI
AI & CODING AGENTS

Using BIU UI with AI

Give Cursor, Claude Code, ChatGPT, and v0 accurate component catalogs, exact prop signatures, and install commands through machine-readable Markdown endpoints.

01 — MACHINE-READABLE DOCS

llms.txt endpoints

Point your coding agent or IDE documentation indexer at these static endpoints. They cover all 41 MIT primitives, 2 starter blocks, Design System foundations, and public API signatures for every component.

/llms.txtIndex

Concise catalog index listing installation commands, Design System links, all 52 components, and all 13 workspace blocks.

/llms-full.txtFull API

Complete Markdown bundle with usage TSX examples and all 1,225 prop descriptions across every BIU UI component.

Every component also exposes its own lightweight Markdown endpoint at /docs/components/<slug>/llms.txt (for example /docs/components/chat-composer/llms.txt) and a Copy Markdown button right beside the component title.

02 — SHADCN REGISTRY

Configure @biudev once

Register the @biudev namespace in components.json so coding agents can add any of the 41 MIT primitives or 2 starter blocks with a single shell command.

CONFIG / components.json
{
  "registries": {
    "@biudev": "https://ui.biu.dev/r/0.1.0/{name}.json"
  }
}
03 — PROJECT RULES

Snippet for AGENTS.md / Cursor rules

Drop this block into AGENTS.md, CLAUDE.md, or .cursor/rules so your agent respects BIU UI's zero-Tailwind 4-layer CSS model without injecting Tailwind classes.

RULES / AGENTS.md
# BIU UI Conventions
- Install open-source primitives with: pnpm dlx shadcn add @biudev/<component>
- Or import from npm: import { Button, Dialog, ChatComposer } from "@biudev/ui"
- Zero Tailwind runtime: BIU UI ships deterministic 4-layer CSS (@layer components.biu-tokens, components.biu-base, components.biu-appearance, components.biu-theme).
- Mount <BiuTokens /> and <BiuAppearance dark={isDark} /> once near the app root.
- Consult https://ui.biu.dev/llms.txt for component slugs and https://ui.biu.dev/docs/components/<slug>/llms.txt for exact props.