mode | "single" | "multi"
| 'single'
| Single select mode Multi select mode |
value | string | string[]
| -
| Current selected value. Current selected values. |
defaultValue | string | string[]
| -
| Default value for uncontrolled mode. Default values for uncontrolled mode. |
onChange | ((value: string) => void) | ((values: string[]) => void)
| -
| Callback when the value changes. Callback when the values change. |
label | string
| -
| |
labelStyle | "inside" | "outside"
| 'outside'
| Whether the label is placed inside or outside the input box. Default is 'outside'. |
helperText | string
| -
| Supporting text displayed below the field. |
error | boolean
| -
| If true, the field will be in error state. |
leadingIcon | React.ReactNode
| -
| Icon to display at the start of the field (only for outside label). |
placeholder | string
| 'Select...'
| Placeholder text when no option is selected. |
options | DropdownOption[]
| []
| Options to display in the dropdown. |
disabled | boolean
| -
| If true, the dropdown is disabled. |
clearable | boolean
| true
| If false, hides the clear button. Default is true. |
className | string
| -
| |
style | React.CSSProperties
| -
| |
width | string | number
| -
| Fixed width of the dropdown. |
portal | boolean
| true
| Whether to render the dropdown menu in a portal. Default is true. |
fullWidth | boolean
| true
| Whether the dropdown takes up full width of container. Default is true. |
size | "large" | "medium"
| 'large'
| Size of the dropdown. Default is 'large'. |
matchWidth | boolean
| true
| Whether the dropdown list width should match the trigger width. Default is true. |
presentation | OverlayPresentation
| 'auto'
| Presentation mode. In auto mode, mobile viewports use a sheet and desktop uses a popover. |
sheetTitle | string
| -
| Title used for the mobile sheet. Defaults to label or placeholder. |
renderTrigger | ((props: { onClick: () => void; value: string | string[]; isOpen: boolean; ref: React.RefObject<HTMLDivElement | null>; }) => React.ReactNode)
| -
| Slot for custom trigger. Receives props like onClick, value, isOpen. |