Magoo Component UI logo Magoo Component UI
← Catalog

Split Button

split-button molecule experimental

A primary action button with an attached caret that opens a menu of related actions.

The width preview needs a screen wider than the chosen width — use a larger device (or a desktop browser) to see the desktop and tablet layouts.

Default
Open

Props

NameTypeReq
label string ✓
href link
items array ✓
start_open boolean
menu_label string

Related components

How to use

Put the dominant action in label/href and its siblings in items (danger: true tints a destructive one). The caret toggle opens the menu via data-open; it closes on Escape or an outside click. Set start_open: true only to show the open menu in a screenshot.

Use cases

action WCAG AA SEO 10 dir: both ai-generated