Sheet
Present concise secondary content from the bottom edge.
HTML
<div class="rl-scope" data-rl-scope>
<button class="rl-button rl-button-primary" type="button" data-rl-open="demo-sheet">Open sheet</button>
<dialog class="rl-dialog rl-sheet" id="demo-sheet" aria-labelledby="demo-sheet-title" aria-describedby="demo-sheet-description">
<div class="rl-dialog-body">
<h2 class="rl-dialog-title" id="demo-sheet-title">Choose a workspace</h2>
<p class="rl-description" id="demo-sheet-description">Your current workspace is Studio North.</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>