jatui

SearchDropdown

Searchable grouped dropdown with keyboard nav

Default (full-width)

Assignee

Chip variant

Dropup

Props

PropTypeDefaultDescription
valuestring""Selected value (bindable via onChange)
groupsSearchDropdownGroup[][]Grouped option list
placeholderstring"Filter…"Search input placeholder
variant"default" | "chip""default"Trigger style — chip renders a compact pill
size"sm" | "md""md"Trigger size
dropupbooleanfalseOpen panel above the trigger
appendToBodybooleanfalseFixed positioning — escapes overflow/table stacking contexts
clearablebooleanfalseShow × to clear selection
displayValuestring-Override the trigger's display text
colorFn(value) => string-Returns a CSS color for the trigger dot
embeddedbooleanfalseAlways-visible panel with no trigger button
disabledbooleanfalseDisable the dropdown
onChange(value) => void-Called on selection (required)