fillWidth Match the trigger's width. | boolean | false |
minWidth Lower bound on the dropdown's width, in rem. | number | — |
maxWidth Upper bound on the dropdown's width, in rem. | number | — |
minHeight Lower bound on the dropdown's height, in rem. | number | — |
placement Which side of the trigger it opens on, and how it aligns. | top•right•bottom•left•top-start•top-end•right-start•right-end•bottom-start•bottom-end•left-start•left-end | bottom-start |
triggerrequired The element that opens the dropdown. | ReactNode | — |
dropdownrequired What opens. Usually a Column of Options. | ReactNode | — |
selectedOption Value of the Option to mark as current. | string | — |
| React.CSSProperties | — |
| string | — |
onSelect Called with the value of the Option that was picked. | (value: string) => void | — |
closeAfterClick Close on selection. Turn it off for a multi-select. | boolean | true |
handleArrowNavigation Move through options with the arrow keys. | boolean | true |
open Controlled open state. Leave it out to let the component manage its own. | boolean | — |
onOpenChange Called whenever it opens or closes, controlled or not. | (open: boolean) => void | — |
nested Marks a dropdown opened from inside another one. | boolean | false |
navigationLayout Whether arrow keys walk a row, a column or a grid. | grid•row•column | — |
columns Grid width, for a grid navigation layout. | number•string | 8 |
optionsCount How many options there are, when the component cannot count them itself. | number | — |
dropdownId Id for the dropdown element, to reference from a label. | string | — |
disableTriggerClick Stop the trigger opening it, when something else does. | boolean | false |
| React.FocusEventHandler<HTMLDivElement> | — |
| React.FocusEventHandler<HTMLDivElement> | — |