Date Picker
Choose a date with the browser’s calendar picker and native constraints.
Select a date in 2026 or 2027.
HTML
<div class="rl-scope" data-rl-scope>
<div class="rl-field">
<label class="rl-label" for="demo-date-picker">Start date</label>
<input class="rl-input" id="demo-date-picker" type="date" aria-describedby="demo-date-picker-hint" name="start" min="2026-01-01" max="2027-12-31">
<p class="rl-description" id="demo-date-picker-hint">Select a date in 2026 or 2027.</p>
</div>
</div>Use min and max for native bounds. Apply the same rules on the server.
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>