LLMs
How to consume Shelf UI documentation via Large Language Models.
LLM resources
Machine-readable documentation for LLMs:
| Resource | URL |
|---|---|
| llms.txt | https://shelf-ui.vercel.app/llms.txt |
| llms-full.txt | https://shelf-ui.vercel.app/llms-full.txt |
Shelf UI publishes machine-readable documentation endpoints following the llms.txt convention. These let AI tools index our full documentation so they understand component APIs, install patterns, and composition rules — without hallucinating.
Endpoints
| Endpoint | Description |
|---|---|
/llms.txt | Compact index — component list, install commands, links to full docs |
/llms-full.txt | Full documentation in a single file — complete prop reference and examples |
Both are plain text, no authentication required, updated automatically on every docs deploy.
Use in your AI assistant
Cursor
Add the full docs as an indexed knowledge source:
- Open Cursor Settings → Features → Docs
- Click Add new doc
- Enter
https://shelf-ui.vercel.app/llms-full.txt
Use @shelf-ui in any prompt to reference it directly.
Claude
In any Claude project, add Shelf UI to the project knowledge:
- Open your Claude project
- Click Add content → URL
- Enter
https://shelf-ui.vercel.app/llms.txt
Claude will index the component list and reference it in your conversations.
For deeper context, use /llms-full.txt instead — it contains the complete prop documentation.
Windsurf
Add to Cascade's knowledge base:
- Open Windsurf Settings → Cascade → Knowledge
- Add source URL:
https://shelf-ui.vercel.app/llms-full.txt
Cascade will index it and apply it automatically to relevant conversations.
GitHub Copilot
Paste the URL directly in a Perplexity prompt:
Read https://shelf-ui.vercel.app/llms.txt and then answer:
how do I add a file upload component to my Next.js app?Perplexity will fetch the docs inline and answer with accurate Shelf UI information.
llms.txt format
The /llms.txt file follows the llmstxt.org spec:
# Shelf UI
> A shadcn-style file UI component library. Copy-paste components for the complete file experience.
## Getting Started
- [Introduction](https://shelf-ui.vercel.app/docs): What Shelf UI is and why it exists
- [Installation](https://shelf-ui.vercel.app/docs/installation): How to add components to your project
## Components
- [Dropzone](https://shelf-ui.vercel.app/docs/components/dropzone): Drag and drop file upload area
- [FileCard](https://shelf-ui.vercel.app/docs/components/file-card): Smart preview card per file type
...If you're building a tool that needs to consume Shelf UI's API programmatically, /llms-full.txt is the right endpoint — it contains the complete prose documentation for every page in a single request.
Last Updated on Jun 25, 2026