Button Group

A combine related actions into a single horizontal line.

@radix-ui/react-slot

@lucide/react

Installation


1

Install the following dependencies:

npx shadcn@latest add https://sbthemes-storev2.vercel.app/r/button-group.json

Examples


Size

Orientation


API Reference

ButtonGroup

A container that organizes related buttons into a single, cohesive group with uniform styling.

PropTypeDefault
Orientationhorizontal, verticalhorizontal

ButtonGroupSeparator

Visually separates buttons in a group to improve clarity and organization.

PropTypeDefault
Orientationhorizontal, verticalvertical