Prototyper UI

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

URLPurpose
/llms.txtIndex of all docs pages and components
/llms-full.txtComplete documentation — all pages in one file
/llms-components.txtAll 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.cssComplete 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.txt

Claude 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.txt

Windsurf — add to rules file:

#docs https://prototyper-ui.com/llms-full.txt

Direct fetch:

curl https://prototyper-ui.com/llms/button
curl https://prototyper-ui.com/llms-components.txt

Response 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 as tsx code blocks
  • Full TypeScript component source
  • Additional examples not already shown in docs

On this page