SidebarNav
ShellsNavigate a sidebar with Composite keyboard support and automatic pathname synchronization.
Compose collapsible navigation with header, content, footer, groups, and items, plus a Ctrl+[ shortcut.
bun add @reopt-ai/opt-uiimport { Sidebar, useSidebar } from "@reopt-ai/opt-ui";Change the width and theme, then interact with the components.
대시보드
Ctrl+[ 로 사이드바 토글
AppShell.Header + AppShell.Sidebar + AppShell.Content 조합
| 키 | 동작 |
|---|---|
| Ctrl+[ | 사이드바 접기/펼치기 토글 |
| ↑ ↓ | 사이드바 항목 간 이동 |
| Home / End | 첫 번째/마지막 사이드바 항목으로 이동 |
Navigate a sidebar with Composite keyboard support and automatic pathname synchronization.
Arrange header, sidebar, content, and footer regions. The sidebar stays visible by default; callers control responsive hiding or drawer behavior.
Switch between content panels with a wrapper around the Tabs primitive.
Use a desktop-style menu bar with checkbox and radio menu items.
Find commands with a Cmd+K-style palette combining Dialog, Combobox, and fuzzy search.
Open CommandPalette with an automatically bound Cmd+K shortcut.