Skip to content
shadcn.io is not affiliated with official shadcn/ui

LLMs.txt

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

shadcn.io provides a compact LLMs.txt 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

Windsurf: Add to your .windsurfrules file:

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

Learn more

Other AI tools: Most assistants accept documentation URLs:

https://shadcn.io/llms.txt

Contributing

Spotted an issue with AI-generated code? Contributions to improve the LLMs.txt output are welcome on GitHub.