Split button preview
One primary native action joined to a keyboard-accessible menu of related alternatives.
pro · Essentials · primitive
When to use
- Use it when a product interface needs one primary native action joined to a keyboard-accessible menu of related alternatives.
- 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 split button.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/split-buttonImport components/ui/tidal.css, components/ui/split-button.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/split-button.css";
import{TidalSplitButton}from"./components/ui/split-button";
export default()=><div className="tidal-scope"><TidalSplitButton label={"Demo"} menuLabel={"Demo"} options={[{id:"example",label:"Demo",textValue:"Demo"}]}/></div>;API and props
TidalSplitButton.label (required)ReactNodeRequired label value accepted by this exported component.
TidalSplitButton.menuLabel (required)stringRequired menu label value accepted by this exported component.
TidalSplitButton.options (required)ReadonlyArray<TidalSplitButtonOption>Required options value accepted by this exported component.
TidalSplitButton.contentPropsContentProps | undefinedOptional content props value accepted by this exported component.
TidalSplitButton.contentRefRef<HTMLDivElement> | undefinedOptional content ref value accepted by this exported component.
TidalSplitButton.defaultOpenboolean | undefinedOptional default open value accepted by this exported component.
TidalSplitButton.dir"ltr" | "rtl" | undefinedOptional dir value accepted by this exported component.
TidalSplitButton.disabledboolean | undefinedOptional disabled value accepted by this exported component.
TidalSplitButton.menuDisabledboolean | undefinedOptional menu disabled value accepted by this exported component.
TidalSplitButton.onOpenChange((open: boolean) => void) | undefinedCallback invoked when the open change interaction is proposed.
TidalSplitButton.openboolean | undefinedOptional open value accepted by this exported component.
TidalSplitButton.primaryLoadingboolean | undefinedOptional primary loading value accepted by this exported component.
TidalSplitButton.primaryPropsPrimaryProps | undefinedOptional primary props value accepted by this exported component.
TidalSplitButton.primaryRefRef<HTMLButtonElement> | undefinedOptional primary ref value accepted by this exported component.
TidalSplitButton.theme"light" | "dark" | undefinedOptional theme value accepted by this exported component.
TidalSplitButton.triggerPropsTriggerProps | undefinedOptional trigger props value accepted by this exported component.
TidalSplitButton.triggerRefRef<HTMLButtonElement> | undefinedOptional trigger ref value accepted by this exported component.
TidalSplitButton.variant"primary" | "secondary" | "ghost" | undefinedOptional variant 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.