get_component_source_styles
Get the default tailwind-variants style definition for any HeroUI v2 component to see slot, variant, and color CSS classes. Use this to write custom classNames or build a custom theme.
Instructions
Get the default tailwind-variants style definition for a HeroUI v2 component, from packages/core/theme/src/components on GitHub. HeroUI v2 has no separate CSS files — every component's slots/variants/compoundVariants are defined as a tailwind-variants ("tv") object in TypeScript. Use this to see which classes back each variant/color/size, useful when writing custom classNames or a custom theme. Use list_components first to get a valid slug.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| component | Yes | Component slug as returned by list_components, e.g. "button". |