Pick a color mode
Unique identifier for the dropdown component
The label of the button
Determines the overall size of the elements, including padding, font size, and other items
Whether the button dropdown is disabled
Event handler for when the dropdown opens
Event handler for when the highlighted option changes
Event handler for when an option is selected
Event handler for when the escape key is pressed
Event handler for when the pointer is pressed outside the dropdown
Function called when the focus is moved outside the component
Function called when an interaction happens outside the component
Whether to close the dropdown when an item is selected
Alignment of the dropdown menu relative to the button
Additional HTML attributes for the main button
Icon displayed on the left of the label
Icon displayed on the right of the label
Content to be rendered inside the dropdown menu
<.dropdown_item value="1" label="Option 1" /> <.dropdown_item value="2" label="Option 2" /> <.dropdown_item value="3" label="Option 3" />