heroui-react
Skill by heroui-inc
Guides AI assistants in building React user interfaces with the HeroUI v3 component library. It is for developers who use Tailwind CSS v4, React Aria components and HeroUI's compound component API.
Install heroui-react
Built from the published package, never by AI.
git clone --depth 1 https://github.com/heroui-inc/heroui /tmp/heroui && mkdir -p ~/.claude/skills && cp -r /tmp/heroui/skills/heroui-react ~/.claude/skills/heroui-reactRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/heroui-inc/heroui /tmp/heroui && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/heroui/skills/heroui-react ~/.gemini/antigravity-cli/skills/heroui-reactAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant the rules and workflow for HeroUI v3, a React component library built on Tailwind CSS v4 and React Aria Components. It tells the assistant to use the v3 API, which has no provider and uses compound components such as Card.Header, and to avoid v2 patterns like framer-motion and flat props. It also covers installing @heroui/react and @heroui/styles, setting up Next.js with the App Router, and using semantic variants and oklch CSS variables for theming.
The skill points the assistant to documentation before it writes code. If @heroui/react is installed, it reads the docs bundled in node_modules. Otherwise, bundled scripts fetch the latest docs, source, styles and theme variables from the network. It is aimed at developers building UIs with HeroUI who want accurate v3 code and component details.
Written from the project's SKILL.md and checked against it.
What it can do
- Build v3 component UIsWrites React code with HeroUI v3 compound components such as Card, Button, Modal and Form.
- Install and set up HeroUIGives install commands and a Next.js App Router setup with Tailwind CSS v4 and HeroUI styles.
- Fetch component docsReads installed docs or fetches MDX docs for a component, such as Button or Modal.
- List componentsLists the available HeroUI components so the correct kebab-case slug can be used.
- Get component source and stylesRetrieves component source code and BEM CSS classes for a given component.
- Configure themingSets up dark and light themes with oklch CSS variables and theme switching via the data-theme attribute.
What you need
- Node.js to run the bundled scripts
- Tailwind CSS v4, since Tailwind v3 will not work
- npm to install @heroui/react and @heroui/styles
Try asking
- Build a login form with HeroUI v3 using the Form and TextField components
- Add a HeroUI v3 Modal that confirms a delete action
- Set up HeroUI v3 with dark and light themes in my Next.js app
Good to know
- Covers HeroUI v3 only and tells the assistant to ignore v2 patterns
- Requires Tailwind CSS v4; Tailwind CSS v3 is not supported
- Scripts fall back to the network and fetch the latest version when @heroui/react is not installed
Security check
C- Downloads a script from the internet and runs itIn
skills/heroui-react/SKILL.md:curl -fsSL https://heroui.com/install | bash
Checked automatically: skills/heroui-react/SKILL.md, skills/heroui-react/scripts/_local_docs.mjs, skills/heroui-react/scripts/get_component_docs.mjs, skills/heroui-react/scripts/get_docs.mjs, skills/heroui-react/scripts/get_source.mjs, skills/heroui-react/scripts/get_styles.mjs, skills/heroui-react/scripts/get_theme.mjs, skills/heroui-react/scripts/list_components.mjs. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
LICENSE.txt11 KB -
SKILL.md9 KB -
scripts/_local_docs.mjs2 KB -
scripts/get_component_docs.mjs5 KB -
scripts/get_docs.mjs5 KB
Show all 9 files
-
scripts/get_source.mjs4 KB -
scripts/get_styles.mjs4 KB -
scripts/get_theme.mjs5 KB -
scripts/list_components.mjs4 KB
Alternatives to heroui-react
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
heroui-react: common questions
Does HeroUI v3 need a provider component?
No. The skill states that HeroUI v3 needs no provider and that the v2 HeroUIProvider pattern should not be used.
Which styling system does HeroUI v3 use?
HeroUI v3 uses Tailwind CSS v4 with @heroui/styles and CSS variables in the oklch color space.
Where does the skill get component documentation?
It reads docs bundled in node_modules/@heroui/react/docs when the package is installed. Otherwise it fetches the latest docs from heroui.com.
How do I install heroui-react?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is heroui-react free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is heroui-react safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to heroui-react?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
