Skip to content

Playground

Try a workflow and inspect the HTML behind each request.

Workspace settings

Request log ↓

General

Choose the name your team sees in the workspace.

Notifications

Use in your app

POST /demo/settings returns the saved form. On a validation error it returns the submitted values and field errors with HTTP 422. On success the HX-Trigger-After-Settle header announces the save.

Serve these assets from the download’s public/ directory. Add the tags to your page head.

Page assets
<link rel="stylesheet" href="/mero.css">
<link rel="stylesheet" href="/mero-layouts.css">
<script defer src="/vendor/htmx.min.js"></script>
<script defer src="/mero.js"></script>
<script defer src="/mero-forms.js"></script>

Server source · server.mjs

Download full example source ↓