Connected actions on one surface: a selection fill that is thrown to the segment you pick, dividers that fade beside it, labels that fold into icons when narrow.
pnpm dlx shadcn@latest add "https://hairlineui.com/r/button-group.json"