Last modified: August 22, 2025
The Dropdown
component renders a dropdown menu that can appear as a button or hyperlink. Use this component to enable users to select from multiple options in a compact list. This component includes sizing options.

Prop | Type | Description |
---|---|---|
options | Object | The options included in the dropdown menu. For each option, include:
|
variant | 'primary' (default) | 'secondary' | 'transparent' | The type of dropdown button to display. 'primary' and 'secondary' will display a blue and grey button, respectively, while 'transparent' will display a blue hyperlink. |
buttonText | String | The button text. |
buttonSize | 'xs' , 'extra-small' | 'sm' , 'small' | 'md' , 'medium' (default) | The size of the button. |
disabled | Boolean | When set to true , the dropdown button cannot be focused or clicked. Set to false by default. |
Variants
Using thevariant
and buttonSize
props, you can set the type of button along with its size.
'primary'
buttons with size set to'xs'
,'sm'
, and'md'
respectively:

'secondary'
buttons with size set to'xs'
,'sm'
, and'md'
respectively:

'transparent'
buttons with size set to'sm'
and'md'
respectively:
