Dropdown components display a menu of options when triggered by a button or other element.
Prop | Type | Default |
|---|---|---|
No dataThere are no records to display | ||
Each option in the options array should follow this structure:
Prop | Type | Default |
|---|---|---|
No dataThere are no records to display | ||
children snippet is required and typically contains the trigger element (e.g.,
a Button).header snippet for displaying user info or context at the top of the dropdown.footer snippet for additional information or actions at the bottom.src), but not both simultaneously.href is provided, the option will render as a link instead of a button.onclick for custom actions when an option is clicked.