heroui-react

heroui-react is a skill for Claude Code, Codex from punkadillo/figma-code-composer. It costs 83 tokens per session (1,601 once invoked), scanned C, a copy of heroui-react, MIT.

A development guide for HeroUI v3, a React component library built with Tailwind CSS v4 and React Aria Components. It covers accessible interface elements, installation, styling, and the v3 component API.

In plain words
What is it for?
Use it when building buttons, forms, cards, modals, and themes with HeroUI v3 or configuring its React and Tailwind packages.
Why use it?
It helps you use the correct HeroUI version patterns instead of relying on outdated v2 instructions.

Skill for Claude CodeCodex

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

Good fit Use it when building buttons, forms, cards, modals, and themes with HeroUI v3 or configuring its React and Tailwind packages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/punkadillo/figma-code-composer/heroui-react
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 punkadillo/figma-code-composer --skill heroui-react
Clone the repo
git clone --depth 1 https://github.com/punkadillo/figma-code-composer

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/punkadillo/figma-code-composer/heroui-react/github.svg)](https://agentmods.dev/skills/punkadillo/figma-code-composer/heroui-react)
Your own site
<a href="https://agentmods.dev/skills/punkadillo/figma-code-composer/heroui-react"><img src="https://agentmods.dev/badge/skills/punkadillo/figma-code-composer/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/punkadillo/figma-code-composer/heroui-react"><img src="https://agentmods.dev/badge/skills/punkadillo/figma-code-composer/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 1,601 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.
Origin 92% copy Near-identical to another mod 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.01601
Opus 5.5 $0.00033 $0.00640
Sonnet 5.5 $0.00017 $0.00320
Haiku 4.5 $0.00008 $0.00160

Measured 2mo ago against content hash 92a42da5bfc8, 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 2mo ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/get_component_docs.mjs, scripts/get_docs.mjs, scripts/get_source.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

This is a copy

92% identical to heroui-react — 35 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.figma-pipeline/skills/heroui-react/SKILL.md · 235 lines

How it starts

The opening of the file, as written. The whole thing — 235 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 · 235 lines

Files

What ships with it

7 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. 2mo ago First seen · 235 lines · 83 tokens per session scan C 92a42da5bfc8

Subscribe to this mod's changes

heroui-react is a skill published in the GitHub repository punkadillo/figma-code-composer (3 stars, last pushed 3mo ago), licensed MIT. It adds 83 tokens to every session and 1,601 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). It is 92% identical to heroui-react, differing in 35 lines, and is treated as a copy.

Related

heroui-react compared with skills from other repositories

heroui-react next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
heroui-reactpunkadillo/figma-code-composerSkill33mo agoMITC83Claude Code, Codex
moai-design-toolsmodu-ai/moai-adkSkill1.3kyesterdayApache-2.0A45Claude Code
artifacts-buildersaajunaid/caddis-pluginSkill03d agoMITA40Claude Code, Codex
chakra-ui-builderchakra-ui/chakra-uiSkill41ktodayMITA214Claude Code, Codex
tamagui-v6-configtamagui/tamaguiSkill14k4d agoMITA76Claude Code, Codex
tamagui-theme-generatortamagui/tamaguiSkill14k4d agoMITA48Claude Code, Codex
frontend-ui-dark-tsmicrosoft/skillsSkill3.3k3d agoMITA48Claude Code