Dropdown
DeprecatedMenu attached to a trigger. Renders items with role='menuitem'. Closes on Escape, click outside, item select. Keyboard arrow navigation. Prefer the Menu molecule for new popover menus; Dropdown's legacy native-select API (options/value/onChange) is DEPRECATED (Wave 3 Tier-1, L6-M3) — use Menu for action menus or the Select atom for form selects. Superseded by menu.
patterns/molecules/dropdown.htmlProps
Dropdown
triggerReact.ReactElement—Element that opens the menu — gets aria-haspopup='menu' + aria-expanded
itemsDropdownItem[]—2-8 items
optionsDropdownItem[]—Synced from source — no interface JSDoc yet; document on `Dropdown.tsx`.
valuestring''Current value.
onChange(value: string) => void—Called when the value changes.
placeholderstring'Select...'Placeholder text shown when the value is empty.
disabledboolean—Disables the control.
ariaLabelstring—Synced from source — no interface JSDoc yet; document on `Dropdown.tsx`.
placementnever'bottom'Positioning preset.
alignnever'start'Alignment preset.
opennever—Whether the element is open/expanded.
onOpenChangenever—Synced from source — no interface JSDoc yet; document on `Dropdown.tsx`.
<Dropdown />Accessibility
Type
1 ruleARIA
1 ruleUsage
Import
import { Dropdown } from "@epasslive/design-system"Example 1
<Dropdown />Example 2
<Dropdown variant="default" />Anti-patterns
— Do not hardcode data in molecules
— Avoid complex business logic in molecules