Dev Design Library

Split button

Primary action button paired with a chevron that opens a dropdown of secondary actions.

Split button preview
Library
FLX UI
Framework
React
Type
block
License
AGPL-3.0
Dependencies
lucide-react
Install
pnpm dlx shadcn@latest add @flx/button-21
Files
  • registry/patterns/button/button-21.tsx
  • src/components/ui/button.tsx
  • src/components/ui/button-group.tsx
  • src/components/ui/dropdown-menu.tsx
  • src/lib/utils.ts
  • src/components/ui/separator.tsx
Source
https://github.com/felipemenezes098/ui-flx

Categories

More from FLX UI