Getting Started

LLMs

How to consume Shelf UI documentation via Large Language Models.

LLM resources

Machine-readable documentation for LLMs:

ResourceURL
llms.txthttps://shelf-ui.vercel.app/llms.txt
llms-full.txthttps://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

EndpointDescription
/llms.txtCompact index — component list, install commands, links to full docs
/llms-full.txtFull 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:

  1. Open Cursor SettingsFeaturesDocs
  2. Click Add new doc
  3. 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:

  1. Open your Claude project
  2. Click Add contentURL
  3. 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:

  1. Open Windsurf SettingsCascadeKnowledge
  2. 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

On this page