Disclosure
CoreExpand and collapse content with Root, Trigger, and Content components.
Show floating content anchored to a trigger using the Popover primitive.
bun add @reopt-ai/opt-uiimport { PopoverRoot, PopoverTrigger, PopoverContent, PopoverClose } from "@reopt-ai/opt-ui";Change the width and theme, then interact with the components.
| 키 | 동작 |
|---|---|
| Esc | 팝오버 닫기 |
| Enter / Space | 트리거 활성화 |
Expand and collapse content with Root, Trigger, and Content components.
Compose accessible modal dialogs with triggers, headings, descriptions, dismissal controls, and header, body, and footer regions.
Open accessible side or bottom sliding panels with a Dialog-based compound API.
Compose menu bars and individual menus with checkbox items, radio items, separators, and popovers.
Create a single-trigger dropdown with a convenient wrapper around Menu Core.
Display field types with consistent glyphs and optional labels for strings, numbers, dates, IP addresses, and geographic data.