Atelier UI

Search components…

Search components…

Split Button

Primary action plus a chevron that opens a menu; closes on outside click or Escape.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

SplitButtonProps

Also accepts all props of Omit<React.ComponentProps<"button">, "children">

PropTypeDefaultDescription
labelstring"Publish"—
itemsSplitButtonItem[]defaultItems—

Install

$ npx shadcn@latest add https://chromotion.dev/r/split-button.json

More like this