basecn
Components

Button Group

A container that groups related buttons together with consistent styling.

Installation

pnpm dlx shadcn@latest add https://basecn.dev/r/button-group.json
or

If you are using a namespaced registry, you can use the following command:

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

Examples

Orientation

Size

Nested

Separator

Split

Input

Input Group

Select

Popover

Migrating from Radix UI

Common Migration Steps

All components share several migration patterns when moving from Radix UI to Base UI. Before proceeding with component-specific changes, review the essential migration patterns.

Familiarizing yourself with these patterns will make the component-specific migration steps much clearer.