Skip to content
View templateOpen app

Team chat

North Studio
Conversations

Theo Sato

Direct conversation

Today
  1. Theo Sato

    The reference cards are ready. I left them on your desk.

Use in your app

GET /demo/layouts/chat opens a channel. POST /demo/layouts/chat/send returns the updated conversation, or the composer with the submitted text and HTTP 422 on a validation error.

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="/communication-layouts.css">
<script defer src="/vendor/htmx.min.js"></script>
<script defer src="/mero.js"></script>
<script defer src="/mero-forms.js"></script>
<script defer src="/communication-layouts.js"></script>

Server source · site/communication-layouts.mjs

Download full example source ↓