Patterns
Conversation layout
The conversation is the product's main page. The chat sits in the middle at a readable width. The observer opens beside it, and nothing is covered.
Two states of one frame
Resize your window below 56rem wide: the drawer no longer fits beside the chat, so the eye becomes a small chip above it and the observer opens as a sheet.
Observer drawer is closed
You ask
The factory replies, then asks one question at a time.
Prompt bar
Rules
- Closed
- The chat is 70% of the width, centred, with 15% either side. The observer's eye button docks at the top of the right side.
- Open
- The chat moves fully left and shrinks. The drawer takes the right side, between 22 and 30rem (28% of the width). Nothing is covered.
- Easing
- The columns ease over 200ms, and not at all with reduced motion. The drawer keeps its width while the chat column reflows.
- Narrow containers
- Below
@4xl(56rem container width) the eye is a chip above the chat and the observer is a sheet. The frame measures its container, not the window. - One question at a time
- The factory asks a single question and waits. The answer is a button, a choice or a sentence; never a form of ten fields.
- Quiet stamps
- After the factory's name, one muted mono line: when it replied and how long it took, for example "10:42 · took 1m 12s". Each part is left out when unknown.
- Prompt bar
- Fixed at the bottom of the chat column, never full-bleed across the drawer.
Do
Push the chat aside for the drawer so both stay readable.
Don't
Float the drawer over the chat or stretch the chat edge to edge.