Chat beside a document previewartifact-chat-split
Use in Plus UI
npx shadcn@latest add https://blocks.plusui.com/r/artifact-chat-split.jsonAI · 8 variants
← → to step through · + on a thumbnail to compare side by side (up to 3)
/preview/artifact-chat-split
Open ↗Default content
{
"brand": "wisplight",
"assistantName": "Wisplight",
"user": {
"name": "Leah Moreau",
"avatar": {
"src": "https://images.unsplash.com/photo-1546961329-78bef0414d7c?auto=format&fit=crop&crop=faces&w=96&h=96&q=80",
"alt": "Leah Moreau"
}
},
"chatTitle": "Draft the October supplier update",
"artifact": {
"title": "October supplier update",
"kind": "Document · 268 words",
"versions": [
{
"id": "v1",
"label": "v1",
"note": "First draft",
"blocks": [
{
"type": "h1",
"text": "October supplier update"
},
{
"type": "p",
"text": "Hi all — here's where Mosswell's autumn orders stand and what we need from you before the holiday rush."
},
{
"type": "h2",
"text": "Orders"
},
{
"type": "li",
"text": "Autumn orders are up 18% on last year."
},
{
"type": "li",
"text": "Stoneware mugs and linen throws are selling fastest."
},
{
"type": "h2",
"text": "What we need"
},
{
"type": "p",
"text": "Please confirm your December delivery dates by 24 October."
},
{
"type": "p",
"text": "Thanks, Leah"
}
]
},
{
"id": "v2",
"label": "v2",
"note": "Firmer dates, per-supplier asks",
"blocks": [
{
"type": "h1",
"text": "October supplier update"
},
{
"type": "p",
"text": "Hi all — here's where Mosswell's autumn orders stand and what we need from you before the holiday rush."
},
{
"type": "h2",
"text": "How autumn is going"
},
{
"type": "li",
"text": "Autumn orders are up **18%** on last year, and **31%** for stoneware.",
"changed": true
},
{
"type": "li",
"text": "Stoneware mugs and linen throws are selling fastest; we expect to reorder both in November.",
"changed": true
},
{
"type": "h2",
"text": "What we need from you"
},
{
"type": "li",
"text": "**Kiln & Co.**: 600 mugs by 2 December, or tell us by 24 October if that's tight.",
"changed": true
},
{
"type": "li",
"text": "**Lindenweave**: confirm the throw colourways for spring so we can photograph them in January.",
"changed": true
},
{
"type": "li",
"text": "**Everyone**: December delivery dates by **24 October**. Late stock misses the gift guide.",
"changed": true
},
{
"type": "quote",
"text": "If something's slipping, tell us early. We'd rather move a date than lose a product.",
"changed": true
},
{
"type": "p",
"text": "Thanks, Leah"
}
]
}
]
},
"messages": [
{
"role": "user",
"text": "Draft a short update for our suppliers: autumn sales are up, and we need December delivery dates by the 24th.",
"time": "10:02"
},
{
"role": "assistant",
"text": "Here's a first draft. I kept it to one screen and put the ask at the end.",
"time": "10:02",
"version": "v1"
},
{
"role": "user",
"text": "Make the asks specific per supplier. Kiln & Co. owes us 600 mugs, Lindenweave needs to confirm spring colours. And add a line that late stock misses the gift guide.",
"time": "10:05"
},
{
"role": "assistant",
"text": "Done. Changes in **v2**:\n\n- Split the ask into one line per supplier\n- Added the stoneware figure from the October sales sheet (31%)\n- Added the gift-guide deadline and a closing line inviting early warnings",
"time": "10:05",
"version": "v2"
}
],
"reply": "Updated. I've tightened the opening and kept the per-supplier asks as they were. Want me to send it from the shared supplier inbox?",
"labels": {
"chat": "Chat",
"document": "Document",
"versions": "Version",
"showChanges": "Show changes",
"copy": "Copy",
"copied": "Copied",
"download": "Download",
"open": "Open",
"resize": "Resize chat and document",
"composer": "Message Wisplight",
"placeholder": "Ask for changes to the document",
"send": "Send",
"thinking": "Wisplight is editing…"
}
}