Chat Attachment
Display a named file and provide a working download.
HTML
<a class="rl-chat-file" href="/demo/insights/dispatch.csv" download="dispatch.csv"><span aria-hidden="true">↧</span><span><strong>dispatch.csv</strong><small>Weekly shipment ledger · CSV</small></span></a>The example serves an actual CSV from the local demo endpoint.
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-insights.css">
<script defer src="/mero.js"></script>
<script defer src="/mero-insights.js"></script>