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

[app-button-group] ├── [app-button-group-text] (optional) ├── [app-button] └── [app-button-group-separator] (optional)

Examples

Default

Loading...

Nested

Loading...

Split Button

Loading...

Vertical

Loading...

With Dropdown Menu

Loading...

With Input

Loading...

API Reference

[app-button-group]

Inputs

InputTypeDefaultDescription
orientation"horizontal" | "vertical""horizontal"Sets the button group's layout axis.

Utilities

ExportAngular API
ButtonGroupImportsReadonly collection containing all Angular button group directives.