@rhds/elements
Version:
Red Hat Design System Elements
17 lines (14 loc) • 501 B
Markdown
# Menu Dropdown
A menu dropdown presents a list of actions or links in a vertically stacked menu, appearing when a user interacts with a toggle button.
## Usage
```html
<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>
```