DropdownMenu
CoreCreate a single-trigger dropdown with a convenient wrapper around Menu Core.
Compose menu bars and individual menus with checkbox items, radio items, separators, and popovers.
bun add @reopt-ai/opt-uiimport { MenubarRoot, MenubarContainer, MenuRoot, MenuTrigger, MenuButtonArrow, MenuPopover, MenuItem, MenuItemCheckbox, MenuItemRadio, MenuSeparator } from "@reopt-ai/opt-ui";Change the width and theme, then interact with the components.
| 키 | 동작 |
|---|---|
| ← → | 메뉴 간 탐색 |
| ↑ ↓ | 메뉴 항목 탐색 |
| Enter / Space | 항목 선택/토글 |
| Esc | 메뉴 닫기 |
Create a single-trigger dropdown with a convenient wrapper around Menu Core.
Choose visual options from tiles backed by native radio buttons and checkboxes for keyboard and screen reader access.
Organize tab panels with Root, TabList, Tab, and TabPanel components.
Show the current location and provide navigation through its hierarchy.
Use a desktop-style menu bar with checkbox and radio menu items.
Expand and collapse content with Root, Trigger, and Content components.