Input Group
Combine a control and contextual prefix with a single outline.
mero.example/
HTML
<div class="rl-scope" data-rl-scope>
<div class="rl-field">
<label class="rl-label" for="demo-input-group">Project URL</label>
<div class="rl-input-group">
<span class="rl-input-prefix" id="demo-project-prefix">mero.example/</span>
<input class="rl-input" id="demo-input-group" aria-describedby="demo-project-prefix" name="project" placeholder="my-project">
</div>
</div>
</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>