Split button

controlsFreeMIT

A button that splits into a row of choices, with a back arrow and keyboard support.

Adapted from Watermelon UI (MIT) and rewritten with keyboard support, labels and reduced motion.

npx shadcn@latest add https://mikkelmanniche.dk/lab/r/split-button.json
Width

Preview

The preview could not load.

Live demo in the dark theme.

Details

Files

  • split-button.tsx