Text Field
Compose a label, input, and hint into a reusable form field.
This name is visible in the workspace.
HTML
<div class="rl-scope" data-rl-scope>
<div class="rl-field">
<label class="rl-label" for="demo-text-field">Repository name</label>
<input class="rl-input" id="demo-text-field" type="text" aria-describedby="demo-text-field-hint" name="repository" required maxlength="64" placeholder="mero-ui">
<p class="rl-description" id="demo-text-field-hint">This name is visible in the workspace.</p>
</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>