Dev Design Library

Split button

A primary action with a menu of nearby alternatives.

Split button preview
Library
Arc Library
Framework
React
Type
ui
License
MIT
Dependencies
@radix-ui/react-dropdown-menu, lucide-react, motion
Install
npx shadcn@latest add https://uiarc.dev/r/split-button.json
Files
  • registry/components/split-button/split-button.tsx
  • registry/components/split-button/split-button.module.css
  • registry/motion-tokens.ts
  • lib/motion-tokens.ts
Source
https://github.com/kuratlielia/arc-library

Categories

More from Arc Library