Dropdown
Open a compact list of actions or destinations.
HTML
<div class="rl-scope" data-rl-scope>
<button class="rl-button rl-button-secondary" type="button" popovertarget="demo-dropdown">Open menu</button>
<div class="rl-popover rl-menu" id="demo-dropdown" popover>
<a class="rl-menu-item" href="/components">Browse components</a>
<a class="rl-menu-item" href="/playground">Run the playground</a>
<a class="rl-menu-item" href="/start">Read the quickstart</a>
</div>
</div>These destinations are ordinary links. Tab moves through the popup and Escape closes it.
Use in your app
Copy these tags into your page head once. Serve the files at the paths shown, then add the example’s template to your page.
Page assets
<link rel="stylesheet" href="/mero.css">
<script defer src="/mero.js"></script>