Select
CoreBuild a dropdown selection with Root, Label, Trigger, Popover, and Item components.
Build autocomplete search with an input, popover, items, groups, group labels, and an empty state.
bun add @reopt-ai/opt-uiimport { ComboboxRoot, ComboboxInput, ComboboxPopover, ComboboxItem, ComboboxGroup, ComboboxGroupLabel, ComboboxEmpty } from "@reopt-ai/opt-ui";Change the width and theme, then interact with the components.
| 키 | 동작 |
|---|---|
| ↑ ↓ | 항목 탐색 |
| Enter | 항목 선택 |
| Esc | 팝오버 닫기 |
Build a dropdown selection with Root, Label, Trigger, Popover, and Item components.
Use accessible buttons with primary, secondary, ghost, and danger variants, three sizes, icons, loading, and aria-busy states.
Use a standalone text input with labels, errors, hints, and icons.
Toggle a setting with three sizes and explicit accessible associations for labels and descriptions.
Enter multiline text with the same label, error, and hint API as Input.
Use labeled checkboxes with descriptions, groups, and an indeterminate state synchronized to the DOM property.