Get started
Use Mero UI with any backend that can render HTML fragments.
Extract the archive and run npm start with Node 22 or newer. The app runs at 127.0.0.1:4173. For just the editable table and its server routes, download Studio Inventory.
Load the assets
The sample serves these files from its public/ directory. Use the same paths in your app, or point them to your own asset directory.
Projects that already load HTMX only need the Mero UI files.
<link rel="stylesheet" href="/mero.css">
<script defer src="/vendor/htmx.min.js"></script>
<script defer src="/mero.js"></script>Request a fragment
Choose Check inventory to fetch the current product count. Open HTTP exchange to see exactly what the server returned.
<button type="button" class="rl-button rl-button-primary"
hx-get="/demo/stock-summary" hx-target="next output"
hx-disabled-elt="this">
Check inventory
</button>
<output aria-live="polite"></output>Use the preview to see the request and the HTML your server returns.Try server-side validation
Open the inventory playground, choose a validation error under Next save, then edit and save a product. The server returns the filled-in form with HTTP 422. The drawer stays open and focuses the invalid field.
The HTTP exchange tab shows the returned form and headers. The standalone inventory includes the same template and routes. Add mero-forms.js after the core to use these behaviors in your app.
Theme your app
Use the theme studio to preview your colors, radii and typography, then export the --rl-* tokens into your stylesheet. Set data-theme="light" or data-theme="dark" on the document to choose a theme.
Read the design principles for action hierarchy, spacing and focus after a save. Try the resizable company directory to see how a layout behaves inside a narrow panel.