Enable AI assistants like Claude, Cursor, and Windsurf to understand HeroUI v3
We provide LLMs.txt files to make HeroUI v3 documentation accessible to AI coding assistants.
Available Files
Core documentation:
- /react/llms.txt — Quick reference index for React documentation
- /react/llms-full.txt — Complete HeroUI React documentation
For limited context windows:
- /react/llms-components.txt — Component documentation only
- /react/llms-patterns.txt — Common patterns and recipes
All platforms:
- /llms.txt — Quick reference index (React + Native)
- /llms-full.txt — Complete documentation (React + Native)
- /llms-components.txt — All component documentation
- /llms-patterns.txt — All patterns and recipes
Inside the Package
@heroui/react also ships its docs as Markdown, so a coding agent reads the docs for the version installed in your project, with no network access.
node_modules/@heroui/react/docs/llms.txt
node_modules/@heroui/react/docs/components/button.md
node_modules/@heroui/react/docs/guides/theming.mdllms.txt is the index: it routes a task ("build a theme", "set up a project") to the page to read, and lists every component and guide. Point your agent at it from AGENTS.md or CLAUDE.md:
Before using a HeroUI component, read `node_modules/@heroui/react/docs/llms.txt`
and the page it links for that component.The hosted files above always describe the latest release. Prefer the package copy when your project is on an older version.
Integration
Claude Code: Tell Claude to reference the documentation:
Use HeroUI React documentation from https://heroui.com/react/llms.txtOr add to your project's .claude file for automatic loading.
Cursor: Use the @Docs feature:
@Docs https://heroui.com/react/llms-full.txtWindsurf: Add to your .windsurfrules file:
#docs https://heroui.com/react/llms-full.txtOther AI tools: Most AI assistants can reference documentation by URL. Simply provide:
https://heroui.com/react/llms.txtFor component-specific documentation:
https://heroui.com/react/llms-components.txtFor patterns and best practices:
https://heroui.com/react/llms-patterns.txtContributing
Found an issue with AI-generated code? Help us improve our LLMs.txt files on GitHub.