Usage
A Dropdown wraps a subject which when interacted with will toggle the visibility of an elevated surface called a menu.
Warning
The width must be at least as large as the content prop's width, or the Dropdown may have issues in Safari.
Mobile
Dropdown is a web only component. If you like to use a “Dropdown” like feature on Mobile, please use Tray instead.
Basic Dropdown
Dropdown menus can show an scrim below the menu, overlaying all other content on the screen when passed showOverlay.
Dropdown can render as a Modal on mobile web if passed enableMobileModal.
Loading...
Control a Dropdown Programmatically
You can control the visibility of a Dropdown menu programmatically using the exposed openMenu and closeMenu methods on a Dropdown's ref.