← All controls

Core / Controls

Dropdown Button

Opens a compact menu of related actions.

Live example

Use the primary action or open related actions.

Interactive preview using local sample data. Styling is intentionally left to the consuming project.

Usage

<DropdownButton label="Actions" items={items} />

Adopt to your project

Keep this component semantically neutral. Use its documented props for behavior and className for project-specific spacing, width, typography, and visual treatment.

Accessibility

Manage expanded state, focus, Escape, and arrow-key navigation.

API reference

Public attribute
label
items
onSelect
disabled

The preview above uses a safe local fixture. Confirm exact TypeScript props when adapting it to your application.

Installation

Full library
pnpm install:project /absolute/path/to/your-project

Planned guided selection
Controls → Dropdown Button