App Layout
A responsive workspace with a sidebar, content area and mobile navigation drawer.
HTML
<section class="rlw-shell" data-rlw-shell aria-label="Studio workspace">
<aside class="rlw-side"><strong>Studio North</strong><nav aria-label="Workspace sidebar"><a href="/layouts/dashboard">Overview</a><a href="/layouts/dashboard?view=inventory">Inventory</a><a href="/layouts/dashboard?view=settings">Settings</a></nav></aside>
<div class="rlw-shell-main">
<button class="rl-button rl-button-sm rl-button-secondary rlw-mobile-nav" type="button" data-rlw-open>Open navigation</button>
<header><small>Studio North</small><h2>Release room</h2></header>
<div class="rlw-summary"><span class="rlw-dot"></span><div><strong>Spring collection</strong><small>Photography approved</small></div></div>
<a class="rl-link" href="/layouts/dashboard?view=inventory">Open inventory →</a>
</div>
<dialog class="rl-dialog rlw-drawer" aria-label="Workspace navigation"><div class="rl-dialog-body">
<button class="rl-button rl-button-sm rl-button-secondary" type="button" data-rl-close autofocus>Close navigation</button>
<nav aria-label="Mobile workspace"><a href="/layouts/dashboard">Overview</a><a href="/layouts/dashboard?view=inventory">Inventory</a><a href="/layouts/dashboard?view=settings">Settings</a></nav>
</div></dialog>
</section>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">
<link rel="stylesheet" href="/mero-workspace.css">
<script defer src="/mero.js"></script>
<script defer src="/mero-workspace.js"></script>