Skip to main content

Variable: ButtonGroup

@arolariu/components


@arolariu/components / ButtonGroup

Variable: ButtonGroup

const ButtonGroup: ForwardRefExoticComponent<ButtonGroupProps & RefAttributes<HTMLDivElement>>

Defined in: components/ui/button-group.tsx:73

Aligns related buttons into a single visual control group.

Remarks

  • Pure CSS component (no Base UI primitive)
  • Renders a <div> element
  • Styling via CSS Modules with --ac-* custom properties

Example

<ButtonGroup>
<button type='button'>Left</button>
<button type='button'>Right</button>
</ButtonGroup>

See

ButtonGroupProps for available props

// was this page useful?