NOCTA UI

Button Group

Arrange multiple buttons together with shared styling, spacing, and alignment controls.

Installation

Install the Button Group component using the nocta-ui CLI:

npx @nocta-ui/cli add button-group

Import the components:

import {
  ButtonGroup,
  ButtonGroupItem
} from '@/components/ui/button-group';

Examples

Default Button Group

Sizes

API Reference

ButtonGroup

Prop

Type

ButtonGroupItem

Prop

Type