Dropdown Menu

Anchored action menu with header, body, and footer. Rows compose List Item. Prefer Option List for pickers that keep a selected value.

Also known as: action menu, three dot menu, kebab menu, profile menu, account menu, overflow menu, button menu

Installation

Install with the CLI, or copy the component source into your project.

Add dropdown-menu (npm)

npx --yes -p github:itsvigneshv/default-file-ui#main df-ui add dropdown-menu

Profile surface

Inline account menu with avatar header, actions, and footer.

Header chrome

Header without avatar. Title and description use size and color chrome.

Profile badges

Header meta Badge under the email and trailing Badge on the right.

Surface shadow

Content shadow chrome. Off by default; pass a kit elevation token for depth.

Compact density

Content itemSize sm on profile and overflow compositions.

Workspace switcher

Stacked List Item trigger with a portaled workspace menu and selected checks.

Profile menu

Click Profile to open the anchored account menu.

Selection actions

Batch menu with status Header, Kbd shortcuts, and destructive delete.

Studio overflow

Section labels, shortcuts, submenu, and preference checks. Body scrollable with maxHeight.

Icon trigger

Overflow menu with destination, account, and sign-out groups.

Placement

side and align placement, including align auto with collision avoidance.

Bottom

Top

Left and right

Content-aware

Properties

Anchored action menu for profile menus, workspace switchers, three-dot menus, and toolbar actions. Compose Content with Header, Body, and Footer. Items fire onSelect and close by default. Rows compose List Item. Prefer Option List when the panel should keep a selected value without running a command.