Button group preview
A labelled cluster of native button actions with shared separator geometry, horizontal or vertical orientation, and narrow wrapping.
pro · Essentials · primitive
When to use
- Use it when a product interface needs a labelled cluster of native button actions with shared separator geometry, horizontal or vertical orientation, and narrow wrapping.
- Choose it when the host application can supply the required state and keep business logic outside the presentation component.
Alternatives
- Choose tidal-button instead when press, loading, success and disabled states is the actual interface need, rather than button group.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/button-groupImport components/ui/tidal.css, components/ui/button-group.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/button-group.css";
import{TidalButtonGroup}from"./components/ui/button-group";
export default()=><div className="tidal-scope"><TidalButtonGroup actions={[{id:"example",label:"Demo"}]} label={"Demo"}/></div>;API and props
TidalButtonGroup.actions (required)ReadonlyArray<TidalButtonGroupAction>Required actions value accepted by this exported component.
TidalButtonGroup.label (required)stringRequired label value accepted by this exported component.
TidalButtonGroup.disabledboolean | undefinedOptional disabled value accepted by this exported component.
TidalButtonGroup.orientation"horizontal" | "vertical" | undefinedOptional orientation value accepted by this exported component.
TidalButtonGroup.wrapboolean | undefinedOptional wrap value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- Install the declared registry dependencies and render inside a tidal-scope with the foundation stylesheet loaded.