Segment
Choose one display density in a compact segmented control.
HTML
<form><fieldset class="rlw-segment"><legend class="rlw-sr">Preview density</legend>
<label><input name="density" type="radio" value="compact">Compact</label>
<label><input name="density" type="radio" value="regular" checked>Regular</label>
<label><input name="density" type="radio" value="spacious">Spacious</label>
</fieldset></form>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>