heroui-react

heroui-react is a skill for Claude Code, Codex from heroui-inc/heroui. It costs 83 tokens per session (2,128 once invoked), scanned C, original, Apache-2.0.

A development guide for HeroUI v3, a React component library for building web interfaces with ready-made controls such as buttons, forms, cards, and modals.

In plain words
What is it for?
Building React web interfaces, installing HeroUI packages, creating accessible components, and configuring light and dark themes.
Why use it?
It helps developers use the v3 APIs and styling system correctly instead of following outdated HeroUI v2 examples.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Building React web interfaces, installing HeroUI packages, creating accessible components, and configuring light and dark themes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/heroui-inc/heroui/heroui-react
About the project

HeroUI is a React component library that provides ready-made interface elements for building web applications. Developers use its components as building blocks in React projects. The catalogue includes agents, skills, and instructions for working with HeroUI.

heroui-inc/heroui · 31,338 stars · on GitHub · heroui.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add heroui-inc/heroui --skill heroui-react
Clone the repo
git clone --depth 1 https://github.com/heroui-inc/heroui

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for heroui-react

README.md
[![agentmods](https://agentmods.dev/badge/skills/heroui-inc/heroui/heroui-react/github.svg)](https://agentmods.dev/skills/heroui-inc/heroui/heroui-react)
Your own site
<a href="https://agentmods.dev/skills/heroui-inc/heroui/heroui-react"><img src="https://agentmods.dev/badge/skills/heroui-inc/heroui/heroui-react/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for heroui-react

Your own site · 80×15
<a href="https://agentmods.dev/skills/heroui-inc/heroui/heroui-react"><img src="https://agentmods.dev/badge/skills/heroui-inc/heroui/heroui-react.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,128 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 24 Nov 2026
  • Snyk fail 23 Nov 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Supply Chain · line 18
    Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
    Fix: Avoid downloading and executing remote scripts. Use trusted packages from PyPI/npm. If remote fetch is required, verify checksums and use HTTPS.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00083 $0.02128
Opus 5.5 $0.00033 $0.00851
Sonnet 5.5 $0.00017 $0.00426
Haiku 4.5 $0.00008 $0.00213

Measured 3d ago against content hash b57ce813abb0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

heroui-react scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/_local_docs.mjs, scripts/get_component_docs.mjs, scripts/get_docs.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://heroui.com/install | bash -s heroui-react

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://heroui.com/install | bash -s heroui-react
Origin

Copies of this mod

3 near-identical copies found in the catalogue:

skills/heroui-react/SKILL.md · 266 lines

How it starts

The opening of the file, as written. The whole thing — 266 lines — stays where its author put it; the contents beside it link to each section on GitHub.

HeroUI v3 React Development Guide

HeroUI v3 is a component library built on Tailwind CSS v4 and React Aria Components, providing accessible, customizable UI components for React applications.


Installation

curl -fsSL https://heroui.com/install | bash -s heroui-react

CRITICAL: v3 Only - Ignore v2 Knowledge

This guide is for HeroUI v3 ONLY. Do NOT apply v2 patterns — the provider, styling, and component API all changed:

Feature v2 (DO NOT USE) v3 (USE THIS)
Provider <HeroUIProvider> required No Provider needed
Animations framer-motion package CSS-based, no extra deps
Component API Flat props: <Card title="x"> Compound: <Card><Card.Header>
Styling Tailwind v3 + @heroui/theme Tailwind v4 + @heroui/styles
Packages @heroui/system, @heroui/theme @heroui/react, @heroui/styles
// DO NOT DO THIS - v2 pattern
import { HeroUIProvider } from "@heroui/react";
import { motion } from "framer-motion";

<HeroUIProvider>
	<Card title="Product" description="A great product" />
</HeroUIProvider>;

CORRECT (v3 patterns)

// DO THIS - v3 pattern (no provider, compound components)
import { Card } from "@heroui/react";

<Card>
	<Card.Header>
		<Card.Title>Product</Card.Title>
		<Card.Description>A great product</Card.Description>
	</Card.Header>
</Card>;

Always fetch v3 docs before implementing.


Core Principles

  • Semantic variants (primary, secondary, tertiary) over visual descriptions
  • Composition over configuration (compound components)
  • CSS variable-based theming with oklch color space
  • BEM naming convention for predictable styling

Accessing Documentation & Component Information

Read the full file on GitHub · 266 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +15 lines b57ce813abb0
  2. 7d ago Changed · +16 lines 34fb174e3ed7
  3. 3mo ago First seen · 235 lines · 83 tokens per session scan C 4a57a4b2cc35

Subscribe to this mod's changes

heroui-react is a skill published in the GitHub repository heroui-inc/heroui (31,338 stars, last pushed yesterday), licensed Apache-2.0. It adds 83 tokens to every session and 2,128 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

heroui-react compared with skills from other repositories

heroui-react next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
heroui-reactheroui-inc/herouiSkill31kyesterdayApache-2.0C83Claude Code, Codex
svar-reactsvar-widgets/skillsSkill26mo agononeA48Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144kyesterdayMITA95Claude Code
next-cache-components-optimizervercel/next.jsSkill144kyesterdayMITA123Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill144kyesterdayMITA103Claude Code
next-dev-loopvercel/next.jsSkill144kyesterdayMITA68Claude Code
next-partial-prefetching-optimizervercel/next.jsSkill144kyesterdayMITA82Claude Code