Drawer
Open a full-height edge panel for work that benefits from more room.
HTML
<div class="rl-scope" data-rl-scope>
<button class="rl-button rl-button-primary" type="button" data-rl-open="demo-drawer">Open drawer</button>
<dialog class="rl-dialog rl-drawer" id="demo-drawer" aria-labelledby="demo-drawer-title" aria-describedby="demo-drawer-description">
<div class="rl-dialog-body">
<h2 class="rl-dialog-title" id="demo-drawer-title">Review deployment</h2>
<p class="rl-description" id="demo-drawer-description">The staging build is ready to review.</p>
<div class="rl-dialog-footer">
<button class="rl-button rl-button-secondary" type="button" data-rl-close autofocus>Done</button>
</div>
</div>
</dialog>
</div>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>