Resizable
Resize two adjacent panels by dragging the divider or using the arrow keys.
Lighting
Pendant lights
Table lamps
Wall lights
Arc Task Lamp
Adjust the divider to change the space available to each panel.
HTML
<div class="rlw-split" data-rlw-split>
<section id="lighting-collection"><small>Collection</small><h2>Lighting</h2><p>Pendant lights<br>Table lamps<br>Wall lights</p></section>
<div class="rlw-split-handle" role="separator" aria-label="Resize collection and details" aria-controls="lighting-collection" aria-orientation="vertical" aria-valuemin="20" aria-valuemax="80" aria-valuenow="40" tabindex="0"></div>
<section><small>Selected item</small><h2>Arc Task Lamp</h2><p>Adjust the divider to change the space available to each panel.</p></section>
</div>Home and End choose the minimum and maximum panel widths.
Try the divider in Mail →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>