Skip to content
← All posts
AI UI patternsNovember 19, 2026 · 9 min read

AI Chat Interface Design: 12 Patterns That Make Chat Feel Finished

12 proven patterns for AI chat interfaces: message layout, streaming, actions, citations, errors and empty states, with design rules for each.

AI UI PATTERNSAI Chat Interface Design: 12 Patterns That Make Chat Feel Finished

A good AI chat interface is easy to read, shows progress while the model works, and gives users control over every answer. Most chat screens get the basic layout right and then miss the details that decide whether a product feels finished: streaming without jumps, actions on every answer, clear errors, and a first screen that tells users what to do.

These 12 patterns cover what users expect from AI chat in 2026. Each one comes with the rule we follow and the reason behind it.

1. Separate user and AI messages by layout, not only colour

User messages work best as compact bubbles aligned to the right. AI answers work best full width with no bubble. The reason is length: AI answers are often long and hold lists, tables and code, and a bubble squeezes all of that into a narrow box.

Colour alone is also not enough to show who is speaking. Users with low vision or colour blindness rely on shape and position. Right-aligned bubbles versus full-width text tells the story without colour.

2. Keep line length readable

Cap the conversation column at 680 to 760px on desktop and centre it. Long lines across a wide monitor are tiring to read and make users lose their place. Let the sidebar, canvas or preview panel use the rest of the screen.

3. Stream text without layout jumps

Streaming makes an answer feel fast, but it can also make the page jump. Three rules keep it calm:

  • Reserve space for the action row from the start, so it does not push content when the answer finishes
  • Auto-scroll only while the user is already at the bottom
  • If the user scrolls up to read, stop moving the page and show a small “Jump to latest” button

Nothing frustrates readers more than text moving away while they read it.

4. Show the right waiting state

Use a short thinking indicator before the first token, then let the text itself show progress. For tools and long tasks, show named steps such as “Searching 4 sources” or “Reading pricing.pdf” instead of a generic spinner.

5. Render rich content properly

AI answers include headings, lists, tables and code. Style each one inside the message:

  • Headings one or two sizes above body text, never as large as page titles
  • Code blocks with a language label and a copy button
  • Tables that scroll sideways on mobile instead of breaking the layout
  • Inline code with a subtle background
  • Links in the accent colour, underlined on hover

6. Put actions under every AI answer

Users expect a small action row under each answer: copy, regenerate, like and dislike, and share. Show it on hover on desktop and always on mobile, where there is no hover. Keep icons at 16 to 20px, give each a tooltip and an accessible name, and confirm copy with a brief “Copied” label.

7. Let users edit what they sent

An edit button on user messages saves a full retry. When the user edits, either replace the thread below the message or create a branch with simple “1 of 2” navigation. Both work. Mixing them in one product does not, so pick one model and use it everywhere.

8. Show sources as numbered citations

When the AI uses search or documents, mark claims with small numbered citations and list the sources under the answer. Show the title and domain on hover. Users trust answers they can check, and citations make clear which parts came from sources.

9. Design the error, not just the success

Errors in AI chat are common: rate limits, timeouts, blocked content, lost connection. Each needs:

  • A clear message inside the thread, where the answer would have been
  • The reason in plain words: “The request timed out after 60 seconds”
  • One action: Retry, Wait, or Edit prompt
  • The user’s prompt kept intact, so nothing is lost

A red toast that disappears in three seconds is not an error state. Users need time to read and an obvious way to recover.

10. Make the empty state useful

The first screen should show what the product is good at. Use three or four suggestion cards with real tasks, not a generic “Ask me anything”. Each card should fill the prompt bar when clicked, so the user can adjust the wording before sending. This teaches new users what good prompts look like without a tutorial.

11. Handle attachments in the thread

Files and images sent by the user appear as chips or thumbnails above their message text, with the file name, type and size. Show a clear failed state if an upload breaks, with a retry option. Files created by the AI appear as download cards inside the answer, so users can tell inputs from outputs.

12. Build for light and dark from day one

Many users run AI tools in dark mode for hours. Define message background, bubble, code block, border and text colours as semantic tokens so both modes stay readable. Check code block contrast in dark mode carefully; syntax colours are the most common failure.

Quick checklist

Area Must have
Layout Right-aligned user bubbles, full-width AI answers, max column 760px
Streaming No layout jumps, smart auto-scroll, Stop control
Content Styled headings, lists, tables and code with copy
Actions Copy, regenerate, feedback, edit sent message
Trust Numbered citations and a source list
Failure In-thread errors with one recovery action
Start Empty state with 3 to 4 real suggestions
Theming Semantic tokens for light and dark

Get the components ready-made

Nivo UI includes chat bubbles, prompt bars and AI orbs built on variables, with light and dark modes and documentation on every page. It launches free on Figma Community on December 15. See what is inside.

FAQ

Should AI messages use bubbles? Usually not. Full-width AI answers read better because they are long and hold rich content. Bubbles suit short user messages.

How wide should a chat column be? Between 680 and 760px on desktop gives a comfortable line length for long answers.

What actions should every AI answer have? Copy, regenerate and feedback at minimum. Add share and edit where the product supports them.

How do I stop the page jumping while text streams? Reserve space for the action row, and only auto-scroll when the user is already at the bottom.

Try the free NivoUI Figma kitPrompt bars, chat bubbles, AI orbs and base components, built on variables with light and dark modes.Get it free
AI chatchat UIUX patternsFigmadesign systems
ABOUT THE AUTHORLubna · Founder of Nivo UI · Product Designer on UI8Lubna is the founder of Nivo UI and a product designer whose UI kits are sold on UI8. She designs SaaS, fintech and AI products, and her work runs from UX research and strategy through wireframes and prototypes to design systems and finished web and mobile apps.
Get new posts by email

More from the blog

Design systems · 9 min readLight and Dark Mode with Figma Variables: A Semantic Colour SetupSet up light and dark mode in Figma with variables: primitive scales, semantic tokens, modes, scoping and contrast checks, with a shadcn-style token list.Design systems · 9 min readHow to Build a Design System for AI Products in FigmaHow to structure a Figma design system for AI apps: variable collections, semantic tokens, AI-specific components, states and documentation.AI UI patterns · 8 min readAI Loading and Thinking States: How to Design the WaitHow to design loading and thinking states for AI products: typing indicators, AI orbs, streaming, tool steps, long tasks and errors.