Button Group
A segmented cluster of real Buttons that share edges — the wrapper rewrites only the shared radii and borders.
tsx
import {
Button, ButtonGroup, ButtonGroupSeparator,
DropdownMenu, DropdownMenuTrigger, DropdownMenuContent,
DropdownMenuItem, DropdownMenuSeparator,
} from "@pestoui/core"Horizontal
The group reads as one pill: the first child keeps its leading radius, the last keeps its trailing one, and the seams between them collapse to a single hairline. The split button's chevron is a DropdownMenuTrigger with asChild, so the trigger's props land on the Button already there — no button nested in a button, and the segment stays the last DOM child the edge rules select on.
Vertical
A stack reads as a full-width control, so the ends clamp to rounded-lg instead of the pill radius.
Icon segments
Icon buttons are square, so they keep their own pixel radius rather than the group's clamp.
Props
Pesto UI · 117 documented components