Skip to main content

Module button_group

Module button_group 

Source
Expand description

ButtonGroup — port of @heroui/button-group (v3).

Joined buttons sharing one outer radius. The pinned root hands variant, size, isDisabled and fullWidth to its direct Button children through context as defaults (button.tsx merges prop ?? context.prop), so a member’s own explicit value — including isDisabled={false}, fullWidth={false} and any Button variant, outline included — always wins. Members reached through ButtonGroup::button are those typed direct children.

Structs§

ButtonGroup
HeroUI ButtonGroup.