HeroUI

AGENTS.mdPreview

Download HeroUI v3 React documentation for AI coding agents

Download HeroUI v3 React documentation directly into your project for AI assistants to reference.

Note: The agents-md command is specifically for HeroUI React v3. Other CLI commands (like add, init, upgrade, etc.) are for HeroUI v2 (for now).

HeroUI React v3 AGENTS.md

Usage

npx heroui-cli@latest agents-md --react

Or specify output file:

npx heroui-cli@latest agents-md --react --output AGENTS.md

What It Does

  • Downloads latest HeroUI v3 React docs to .heroui-docs/react/
  • Generates an index in AGENTS.md or CLAUDE.md
  • Includes demo files for code examples
  • Adds .heroui-docs/ to .gitignore automatically

Options

  • --react - Download React docs only
  • --output <files...> - Target file(s) (e.g., AGENTS.md or AGENTS.md CLAUDE.md)
  • --ssh - Use SSH for git clone

Requirements

  • Tailwind CSS >= v4
  • React >= 19.0.0
  • @heroui/react >= 2.8.0, @beta, or @latest

On this page