Skip to content

Validator

Show a native field constraint and its correction.

View template
Use two uppercase letters, a hyphen and four digits.

This checks the format locally. Use the inventory form to enforce a unique SKU 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">
<link rel="stylesheet" href="/mero-composition.css">
<script defer src="/mero.js"></script>
<script defer src="/mero-composition.js"></script>
Download library and examples ↓