LLMs.txt

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:

For limited context windows:

All platforms:

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.md

llms.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.txt

Or add to your project's .claude file for automatic loading.

Cursor: Use the @Docs feature:

@Docs https://heroui.com/react/llms-full.txt

Learn more

Windsurf: Add to your .windsurfrules file:

#docs https://heroui.com/react/llms-full.txt

Learn more

Other AI tools: Most AI assistants can reference documentation by URL. Simply provide:

https://heroui.com/react/llms.txt

For component-specific documentation:

https://heroui.com/react/llms-components.txt

For patterns and best practices:

https://heroui.com/react/llms-patterns.txt

Contributing

Found an issue with AI-generated code? Help us improve our LLMs.txt files on GitHub.

On this page

Build faster with HeroUI ProComponents, templates & AI toolingExplore Pro