Menu
CoreCompose menu bars and individual menus with checkbox items, radio items, separators, and popovers.
Use a desktop-style menu bar with checkbox and radio menu items.
bun add @reopt-ai/opt-uiimport { AppMenubar } from "@reopt-ai/opt-ui";Change the width and theme, then interact with the components.
| 키 | 동작 |
|---|---|
| ← → | 상위 메뉴 사이 포커스 이동 |
| Enter / Space / ↓ | 메뉴 열기 |
| ↑ ↓ | 열린 메뉴 항목 이동 |
| Escape | 메뉴 닫고 트리거로 복귀 |
Compose menu bars and individual menus with checkbox items, radio items, separators, and popovers.
Switch between content panels with a wrapper around the Tabs primitive.
Navigate a sidebar with Composite keyboard support and automatic pathname synchronization.
Find commands with a Cmd+K-style palette combining Dialog, Combobox, and fuzzy search.
Open CommandPalette with an automatically bound Cmd+K shortcut.
Search and switch projects with a fuzzy-search combobox.