Agent skill Frontend
Heroui React
Build or refine reusable components for a web interface.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add https://github.com/heroui-inc/heroui/tree/v3/skills/heroui-react --skill heroui-react --agent claude-code --yesCheck this file in your project.claude/skills/heroui-react/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add https://github.com/heroui-inc/heroui/tree/v3/skills/heroui-react --skill heroui-reactSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Use HeroUI v3 and Tailwind CSS v4. The fixture verified @heroui/react and @heroui/styles 3.2.8 with locally shipped Button and Card docs.
View operation manualWhat this skill helps with
- Build or refine reusable components for a web interface.
Good for
- Component implementation
- Skill name
- heroui-react
- Scenario
- Compose a v3 plan card with a working action
- Deliverable
- A compound plan card with compiled styling, a working press action and explicit disabled state.
- Skill name
heroui-react- Repository
heroui-inc/heroui
Define a component task with an observable result
A request with an unclear outcome
Paste a flat v2 Card with old color props.
V3 has its own Card anatomy, Button variants and required stylesheet order.
A workflow with observable results
- Read the installed Card and Button docs
- Compose the card around a semantic action
- Verify the rendered card and its action
HeroUI React operation manual
Use the installed version's Card anatomy and semantic Button actions in an existing React app.
Replace the bracketed details with your own project and target.
Read the installed Card and Button docs
Confirm the helper selected package-local docs for the installed version.
Prompt · Step 1Use heroui-react to inspect [React project]. Check the locked @heroui/react version and the Tailwind v4 entry. From the project root run the installed skill's `get_component_docs.mjs Button Card` with Node and report whether it used installed docs or an upstream fallback. Identify Card sections, a primary action and disabled behavior from that source.Compose the card around a semantic action
Use the compounds and keep CSS import order explicit.
Prompt · Step 2Use heroui-react to implement [approved plan card] with `Card.Header`, `Card.Title`, `Card.Content` and `Card.Footer`. Use a semantic Button variant and `onPress`, and represent unavailable actions using the currently documented disabled prop. Confirm the global CSS imports Tailwind before `@heroui/styles` and keep the action connected to the project's existing local handler.Verify the rendered card and its action
Check structure, computed styling and real keyboard activation.
- Card compound sections render and styles resolve from the v3 entry.
- The enabled and disabled action behave as reported.
Prompt · Step 3Use heroui-react to build [local card route]. Verify the title and sections render, inspect the primary button's computed styles, and confirm Enter and pointer input call the action exactly once per activation. Verify the disabled control cannot fire, and report the package and docs sources used.
Find the relevant rule
Point the assistant to the installed Skill and a specific issue.
The docs may describe a different versionReference
- Command or reference
SKILL.md · Installed Docs First- Examples
- Run the helper from the real project root and check its declared source/version.
The Card renders without its themeReference
- Command or reference
SKILL.md · Installation Essentials- Examples
- Check the actual Tailwind and @heroui/styles import order.
HeroUI React troubleshooting
Should I use `disabled` or `isDisabled` here?
The verified HeroUI 3.2.8 Button docs use `isDisabled`. Read the installed component docs for the exact prop before wiring it.