Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Docs

LLMs.txt

Let AI assistants use the compact shadcn.io documentation index.

shadcn.io provides a compact LLMs.txt (opens in a new tab) index so AI coding assistants can discover the documentation without crawling the full site.

Available Files

  • /llms.txt — Quick reference index for documentation.

Integration

Claude Code: Reference the docs in your prompt or add to your project’s .claude file:

Use shadcn.io documentation from https://shadcn.io/llms.txt

Cursor: Use the @Docs feature:

@Docs https://shadcn.io/llms.txt

Learn more (opens in a new tab)

Windsurf: Add to your .windsurfrules file:

#docs https://shadcn.io/llms.txt

Learn more (opens in a new tab)

Other AI tools: Most assistants accept documentation URLs:

https://shadcn.io/llms.txt

Live access with MCP

LLMs.txt points an assistant at the docs. The MCP server goes further: your agent searches the components, reads their docs and installs them for your framework through tools, and adds icons. See the quickstart.

Contributing

Spotted an issue with AI-generated code? Contributions to improve the LLMs.txt output are welcome on GitHub (opens in a new tab).