Button Dropdown
The button-dropdown component, prefixed by gds-button-dropdown
, is used for dropdown menus. To expand the dropdown menu, add the gds-button-dropdown--active
class to gds-button-dropdown
. Use the modifier gds-button-dropdown--sm
for a smaller dropdown menu.
Demo
Error Log
State
gds-button-dropdown__button--no-rotate
gds-button-dropdown--active
Context (Color)
gds-button-dropdown--secondary
gds-button-dropdown--tertiary
gds-button-dropdown__button--dark
gds-button-dropdown__button--dark-primary
gds-button-dropdown__button--dark-secondary
gds-button-dropdown__button--dark-tertiary
gds-button-dropdown__menu--dark
gds-button-dropdown__button--no-rotate
Size
gds-button-dropdown--xs
gds-button-dropdown--sm
gds-button-dropdown--lg