LLMs.txt
Machine-readable documentation endpoints for AI assistants
Prototyper UI exposes several plain-text endpoints optimized for LLM consumption, following the llms.txt convention.
Endpoints
| URL | Purpose |
|---|---|
/llms.txt | Index of all docs pages and components |
/llms-full.txt | Complete documentation — all pages in one file |
/llms-components.txt | All components with full TypeScript source and examples |
/llms/{slug} | Individual page LLM text (e.g. /llms/button) |
/llms/components/{name} | Component docs + source via full path (e.g. /llms/components/button) |
/prototyper-tokens.css | Complete OKLCH design tokens as a downloadable CSS file |
The /llms/{slug} endpoint is a catch-all: any docs page slug works, not just component names.
Usage
Claude Code — reference in conversation:
@https://prototyper-ui.com/llms.txtClaude Code — add to CLAUDE.md:
## UI Library
See @https://prototyper-ui.com/llms.txt for available components.Cursor — add to .cursorrules:
@Docs https://prototyper-ui.com/llms-full.txtWindsurf — add to rules file:
#docs https://prototyper-ui.com/llms-full.txtDirect fetch:
curl https://prototyper-ui.com/llms/button
curl https://prototyper-ui.com/llms-components.txtResponse Format
All endpoints return text/plain; charset=utf-8. Component endpoints include:
- Frontmatter (title, description, docs URL, Base UI reference link)
- Full MDX documentation converted to plain markdown
- All
<ComponentPreview>examples inlined astsxcode blocks - Full TypeScript component source
- Additional examples not already shown in docs