Button group: Split button
Filled buttons sit flush, so add a <ButtonGroupSeparator /> between them. A dropdown trigger can be any segment.
This adds the example as components/examples/button-group/split.tsx, together with the Button group component and the HextaUI theme tokens it needs.
pnpm dlx shadcn@latest add https://hextaui.com/r/button-group-split.jsonTo add only the component, follow the Button group installation.
- Sizes
- Separators
- Feedback inside a group
- Vertical
- Nested groups
- With text and an input
- Disabled and invalid
- Full width
- As a fieldset
- Right to left
See them all, with keyboard support and accessibility notes, on the Button group page.
- SeparatorA hairline that divides content horizontally or vertically, with an optional label and a decorative mode for purely visual lines.
- ButtonButtons in every variant and size, with a built-in loading, success and error flow that skips the spinner for fast requests.
- ToggleA button that stays on or off, with a fill that settles in when pressed, a clear hover-to-on step and icons that can fill with the state.
- Toggle groupA row of toggles for one choice or many, with a fill that slides to the picked item, joined or spaced items and arrow-key focus.