⚡
Documentation & Primitives

Dropdown Menu

Action popover menu with click-outside listener, destructive item states, and icons.

Interactive Preview

Live

Component Props

  • triggerprop
  • itemsprop
  • alignprop
  • classNameprop

Usage Code

TypeScript / JSX
import { DropdownMenu, Button } from '@stackvibe-studio/ui';

<DropdownMenu
  trigger={<Button size="sm">Actions ▾</Button>}
  items={[
    { id: '1', label: 'Edit Profile', onClick: () => {} },
    { id: '2', label: 'Delete Account', destructive: true },
  ]}
/>