Components/Button Group

Button Group

A composable button group primitive for modern product interfaces.

Interactive example

Step 2 of 4

Installation

Run the CLI from your project root. Dependencies and component source are added automatically.

$npx quackelements add button-group

Usage

The generated file lives in your repository, so the component API and styles remain fully editable.

example.tsx
import { ButtonGroup } from "@/components/quack/button-group"

<ButtonGroup><Button>Back</Button><Button>Next</Button></ButtonGroup>