BlocksChat composer
Chat composer
Compose a message, stage attachments, and send to a local preview thread.
Setup
Download the shared Inlay assets once. Then choose HTML, React, or Vue and copy the example above.
Usage
| Usage | The demo shows a local message. Set the form action to your endpoint to submit message and attachments as multipart form data. For an asynchronous UI, handle submit, prevent the default, and send FormData. |
|---|