Loading...
Loading...
HeroUI Pro React component library. Use when building UIs with @heroui-pro/react — charts, forms, navigation, overlays, data display. Teaches compound component patterns, MCP tool usage, v3 conventions, and the CSS styling system. Keywords: HeroUI Pro, @heroui-pro/react, Pro components, Pro MCP.
npx skill4agent add zhou41794400/cursor_test heroui-react-pro@heroui-pro/react@heroui/react@heroui-pro/reactheroui-promcp.heroui.pro| Tool | When to use |
|---|---|
| Discover available |
| Get compound API, anatomy, props, examples before implementing |
| Understand BEM classes, design tokens, theme variants for customization |
| Read installation, theming, styling, composition guides |
list_componentsget_component_docslist_components| Package | What it contains | MCP server |
|---|---|---|
| Base components: Button, Card, Modal, TextField, Tabs, Accordion, etc. | |
| Pro components: charts, forms, navigation, overlays, data display | |
import {Button, Card, Modal} from "@heroui/react";
import {Sidebar, Command, Sheet, KPI} from "@heroui-pro/react";<HeroUIProvider>Sheet.TriggerSheet.ContentCard.HeaderonPressonClick@import "tailwindcss";
@import "@heroui/styles";This list is a snapshot for reference. Always callvia the MCP to get the current list — new components and blocks are added regularly.list_components
"@heroui/react""@heroui-pro/react"Card.HeaderSheet.ContentSidebar.HeaderonPressonClickDividerSeparatorCardHeaderCardContentCardFooterCard.Headerimport { Icon } from "@iconify/react"variant="primary""secondary""tertiary""outline""ghost""danger""danger-soft"size="sm""md""lg"isDisabledisPendingisIconOnlyfullWidthimport { Switch, Label } from "@heroui/react";
<Switch defaultSelected aria-label="Auto-Lock Doors">
<Switch.Control>
<Switch.Thumb />
</Switch.Control>
</Switch>
<Switch>
<Switch.Control>
<Switch.Thumb />
</Switch.Control>
<Switch.Content>
<Label className="text-sm">Enable notifications</Label>
</Switch.Content>
</Switch>bg-backgroundbg-surfacebg-surface-secondarybg-overlaytext-foregroundtext-mutedbg-accenttext-accent-foregroundtext-successtext-warningtext-danger-foregroundborder-borderborder-separatorshadow-surfaceshadow-overlaydefault-100primary-500get_css@heroui-pro/reactget_css() → overview of tokens + available styles/themes
get_css({ components: ["sheet", "sidebar"] }) → BEM CSS for those components
get_css({ theme: "brutalism" }) → full theme variant CSSCard.HeaderCard.ContentCard.FooterSwitch.Control > Switch.Thumb<Switch>Label</Switch>shadow-overlayshadow-surfacevariant='ghost'variant='outline''outlined'variant='danger-soft'color='danger' variant='soft'ScrollShadowoverflow-y-automax-hrounded-2xlno-underline