Menu dropdown
On this page
Overview
A menu dropdown presents a list of actions or links in a vertically stacked menu, appearing when a user interacts with a toggle button.
          
          
      
     
          
          Edit element properties 
        
        import '@rhds/elements/rh-menu-dropdown/rh-menu-dropdown.js';
import '@rhds/elements/rh-menu/rh-menu-item.js';
const dropdown = document.querySelector('rh-menu-dropdown');
dropdown.addEventListener('select', e => {
  console.log('Selected:', e.text);
});#menu-dropdown-container {
  padding: 1rem;
  rh-menu-dropdown {
    width: 296px;
  }
}<div id="menu-dropdown-container">
  <rh-menu-dropdown>
    <span slot="toggle-label">Basic toggle</span>
    <rh-menu-item>Action one</rh-menu-item>
    <rh-menu-item>Action two</rh-menu-item>
    <rh-menu-item>Action three</rh-menu-item>
    <rh-menu-item disabled="">Disabled Action</rh-menu-item>
    <hr>
    <rh-menu-item>Separated action</rh-menu-item>
  </rh-menu-dropdown>
</div>whether the dropdown is currently open.
Defines the visual style of the dropdown. Setting it to 'borderless' removes the default border styling.
The 'compact' layout reduces spacing and add the rh-icon ellipsis-vertical-fill.
Disables user interaction with the dropdown. When true, the dropdown cannot be opened or interacted with, and appears visually disabled.
Provides an accessible name for the dropdown's trigger, improving screen reader support. This label is announced to assistive technologies to describe the purpose of the compact menu dropdown.
Status
- Figma library:
- 
                  Ready 
- RH Elements:
- 
                  Ready 
- RH Shared Libs:
- 
                  In Progress 
When to use
- When users need a list of actions or links that doesn’t require persistent visibility
- When users need context-specific actions or links
- When there is limited space for multiple actions or links
Status checklist
| Property | Status | Meaning | 
|---|---|---|
| Figma library |  | Component is available in the Figma library | 
| RH Elements |  | Component is available in RH Elements | 
| RH Shared Libs |  | Component is being developed for RH Shared Libs | 
Other libraries
To learn more about our other libraries, visit this page.
Feedback
To give feedback about anything on this page, contact us.