Search documentation

Search the documentation and open a page.

Groups related buttons and controls together with consistent styling.

Loading...

Installation

pnpm dlx shadcn@latest add @wirekyt/button-group

Composition

ButtonGroup ├── ButtonGroupText (optional) ├── Button └── ButtonGroupSeparator (optional)

Examples

Default

Loading...

Nested

Loading...

Split Button

Loading...

Vertical

Loading...

With Dropdown Menu

Loading...

With Input

Loading...

API Reference

ButtonGroup

PropTypeDefault
orientation"horizontal" | "vertical""horizontal"

Utilities and Supporting Types

ExportAPI
buttonGroupVariantsStyle recipe used to reuse the component variants.