Skip to main content

Dropdown Menu

The Dropdown Menu displays a customizable list of navigation or action items.

Examples

Basic Dropdown Menu

Props

NameDescriptionType
classNameAdditional classes for styling componentsString
sideOffsetOffset for menu alignmentNumber
insetAdds padding to specific menu itemsBoolean
checkedState for checkbox or radio menu itemsBoolean
refForwarded reference to the menu elementReact.Ref

Customization

The approach for customization will vary depending on if the customization is intended to be global for all consumers of the UI component or if it is only an override for a particular instance.

  • If the customization is necessary for all use cases, update the component source code in the UI library package directly.
  • Otherwise, pass className overrides to modify styles for a particular instance.