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-groupImport the components:
import {
ButtonGroup,
ButtonGroupItem
} from '@/components/ui/button-group';Examples
Default Button Group
Sizes
API Reference
ButtonGroup
Prop
Type
ButtonGroupItem
Prop
Type