# Chat UI Design: Patterns and Principles That Work

Chat has become one of the main ways people interact with software. Support widgets, messaging apps, internal help bots and AI assistants all put a conversation at the center of the experience. That makes the chat interface itself a design problem worth taking seriously: the same model or support team can feel helpful or frustrating depending on how the conversation is laid out, paced and controlled.

This guide covers the whole picture. It starts with where chat interfaces came from and when chat is the right choice, then works through the essentials of readability, the core patterns (bubbles, assistant cards, streaming, tool calls, contextual input, hybrid layouts, persistent context, progressive disclosure, multi-modal input and personality), and finishes with error handling, accessibility, privacy and how to measure whether your design works.

## How chat interfaces got here

Computer interfaces have moved through a few broad paradigms, and chat borrows from all of them.

| Period | Paradigm | Key characteristics | Examples |
|---|---|---|---|
| 1940s and 1950s | Batch processing | Jobs submitted and run in sequence, no direct interaction | Early mainframes |
| 1960s onwards | Command-line interface | Typed commands with exact syntax | Unix terminals, MS-DOS |
| 1970s onwards | Graphical user interface | Windows, icons, menus and pointers | Windows, macOS, mobile operating systems |
| Today | Conversational interface | Natural language, increasingly powered by AI | Chatbots, AI assistants, voice assistants |

The first well-known chatbot, [ELIZA](https://en.wikipedia.org/wiki/ELIZA), appeared in 1966 and matched keywords in what users typed to produce therapist-style replies. For decades after, chat interfaces were mostly plain text windows with pre-written answers. Advances in natural language processing, then large language models, turned chat into something people use for real work. Some UX researchers, including Jakob Nielsen, describe AI chat as a [new interaction paradigm](https://www.nngroup.com/articles/ai-paradigm/): instead of telling the computer each step, users describe the outcome they want.

### The rise of hybrid interfaces

Pure text has limits. Typing a delivery address, comparing products or picking a date is slower in prose than with a form or a picker. Modern chat interfaces are therefore usually hybrids: a conversation that can contain buttons, cards, carousels, forms and previews when they help. Imagine ordering food through chat. Instead of typing everything, you pick a cuisine from quick replies, choose dishes from a carousel and confirm with a button, while still being able to type "no onions, please" whenever you like.

## When chat is the right interface

Chat is not automatically better than a traditional graphical interface. Choose it for the tasks it suits.

Chat works well for quick, specific actions, such as checking an order, booking a ride, resetting a password or asking a support question. Users can state what they want in their own words instead of hunting through menus, and conversations need little screen space, which helps on mobile. AI assistants add open-ended tasks to that list: drafting text, explaining code or researching a question.

Traditional interfaces are better for complex, visual or data-heavy work, such as editing a photo, managing a large spreadsheet or configuring many settings at once. Chat is sequential, so tasks that need an overview of many options at the same time can feel slow in a conversation.

| Factor | Chat interface | Traditional GUI | Best fit |
|---|---|---|---|
| Interaction | Natural language | Menus, buttons, forms | Chat for intent-driven tasks; GUI for direct manipulation |
| Learning curve | Low for people who use messaging apps | Moderate, depends on the app | Chat for occasional users; GUI for daily power users |
| Mobile friendliness | High | Varies | Chat when screen space is limited |
| Simple tasks | Fast | Moderate | Chat for ordering, booking, status checks |
| Complex tasks | Limited | Strong | GUI for editing, analysis, bulk changes |

Many products combine both: a chat panel beside a traditional interface, where the assistant can fill in a form or change a setting the user can then see and adjust. When in doubt, test both designs with real users and compare task completion and satisfaction rather than following a trend.

## The essentials: readability, layout and formatting

Before any advanced pattern, a chat interface has to be easy to read and follow.

### Typography and color

Choose a clear, legible font at a comfortable size; clean sans-serif typefaces are a common choice for chat. Keep line length readable on wide screens, since a full-width AI answer on a desktop monitor is hard to scan. Make sure text has enough contrast against both the bubble and the page background, and use color with purpose: one accent for the user's messages, a neutral surface for the other side, and your brand colors applied consistently rather than everywhere.

### Message formatting

Make it obvious who said what, through alignment, color, an avatar or a label. Group consecutive messages from the same sender, show timestamps where timing matters, and use formatting such as short paragraphs, lists, bold key terms and headings in long answers so they can be scanned. Proper spelling and grammar in the bot's copy build trust.

### Response timing

Pacing affects how a conversation feels. Long waits without feedback feel broken, so show a typing indicator or progress state. For scripted bots, replies that appear instantly in large blocks can feel abrupt; a short pause or splitting a long answer into a few messages reads more naturally. Never add delays for show when the user is waiting for something urgent.

| Element | Purpose | Good practice | Common mistakes |
|---|---|---|---|
| Typography | Readable messages | Legible font, comfortable size and line length, strong contrast | Tiny or stylized fonts, low contrast, full-width text blocks |
| Color | Clear roles and brand feel | One accent for the user, neutral surface for replies, consistent palette | Clashing colors, color as the only signal |
| Formatting | Easy to follow | Clear sender distinction, grouping, timestamps, structured long answers | Unclear grouping, walls of text |
| Timing | Natural pacing | Typing or progress indicators, sensible pauses | Silent waits, artificial delays |
| Errors | Recovery | Clear message with a next step or alternative | Vague errors, dead ends |

## Conversational bubbles

Speech bubbles are the most familiar chat pattern. Messages sit in rounded containers, aligned to opposite sides for each participant, usually with the user's messages on the right in an accent color. Apple's iMessage, [WhatsApp](https://www.whatsapp.com/), [Facebook Messenger](https://www.messenger.com/) and [Telegram](https://telegram.org/) all use this layout, so users recognize it instantly.

Typical features include alternating alignment, a distinct color per participant, rounded shapes, timestamps and delivery or read status.

**Strengths:** bubbles are intuitive and familiar, make it easy to follow who is speaking, create a clear visual rhythm and adapt easily to brand styles.

**Weaknesses:** long conversations become visually busy, bubbles are a poor container for large amounts of structured information, the look can feel informal for professional contexts, and images, tables or code can break the bubble flow.

Tips for using them well:

- Keep strong contrast between bubble colors, text and background.
- Use consistent padding and spacing so the thread looks orderly.
- Keep shadows and decoration subtle; the content matters more than the container.
- Show delivery and read states clearly where they matter, as in person-to-person chat.
- Let long or rich content break out of the bubble into a wider block rather than squeezing it in.

## AI assistant cards and rich responses

AI assistants produce answers that bubbles handle poorly: long explanations, tables, code, lists of sources or step-by-step plans. Many assistant interfaces, including ChatGPT, Claude, Gemini and Microsoft Copilot, therefore present the assistant's reply as a wide content block or card, while the user's message stays a compact bubble.

Good assistant responses support:

- **Rich formatting.** Rendered Markdown with headings, lists, tables and links, plus code blocks with syntax highlighting and a copy button.
- **Interactive elements.** Buttons, links and follow-up suggestions that let users act directly on the answer.
- **Clear hierarchy.** A visible distinction between user input and assistant output, so long threads stay easy to scan.
- **Structured data.** Tables, comparison cards or previews when the answer is data rather than prose.
- **Response controls.** Copy, regenerate, edit the prompt, and feedback such as thumbs up or down, placed consistently on every reply.

The trade-offs are that cards take more space, can feel less conversational and add design complexity. Too many actions on one card overwhelm users. Keep styling consistent across card types, let long answers expand or collapse smoothly, and use subtle motion only to show that the assistant is working.

## Streaming and non-streaming responses

AI chat interfaces deliver replies in one of two ways, and the choice changes how the product feels.

**Streaming** shows the answer word by word as the model generates it, as most AI assistants do. Users see progress immediately, can start reading before the answer is finished and can stop a reply that is going in the wrong direction. Design for it: keep the scroll position stable while text arrives, offer a visible stop button, and avoid layout jumps when code blocks or tables finish rendering.

**Non-streaming** delivers a complete reply at once, like a message from a colleague. It suits longer tasks the assistant works on in the background, such as research or a multi-step job, where watching every token would be a distraction. Here the interface needs clear status instead: what the assistant is doing, how far along it is and a notification when the result is ready.

Many products use both: streaming for conversational replies and a background task view for longer jobs. The common rule is that the user should always know whether the system is working, finished or waiting for them.

## Showing tool calls and agent actions

Modern assistants do more than write text. They search the web, read files, query systems and call tools. The interface has to make those actions understandable without burying the answer.

Useful patterns include:

- **Compact action rows.** A single line such as "Checked SSL certificate for example.com" that expands to show the inputs and raw result.
- **Approval prompts.** For actions that change something, such as sending an email or editing a record, ask for confirmation with a clear summary of what will happen.
- **Source attribution.** Show where facts came from, with links, so users can verify them.
- **Clear failure states.** When a tool call fails, say so and show what the assistant did instead.

Many assistants get their tools through the Model Context Protocol (MCP), an open standard for connecting AI clients to tools. Our explainer on [what an MCP server is](/blog/what-is-an-mcp-server/) shows how a tool call works. MultitaskAI is a remote MCP server that gives agents 166 exact tools, such as DNS, WHOIS and SSL lookups, JSON repair, regex testing, conversions and image resizing, in Claude, ChatGPT, Claude Code, Cursor, VS Code, Windsurf, Gemini CLI, Codex CLI and other MCP clients. Each call appears in the client's own tool UI, which is a good reminder of why these patterns matter: users trust an exact answer more when they can see which tool produced it. See the [tools](/tools/), the [supported clients](/clients/) and the [docs](/docs.md) for details.

## Contextual input methods

A plain text box is flexible but slow for many inputs. Contextual input methods offer the right control at the right moment.

- **Suggestion chips and quick replies.** Tappable options such as "Yes", "No", "Track my order" or suggested follow-up questions.
- **Context-aware fields.** A location field that offers saved addresses, or a search field that suggests terms based on the conversation.
- **Specialized pickers.** Date and time pickers, number pads and selectors instead of typed values. When scheduling a meeting, a date picker removes guesswork about formats.
- **Slash commands and menus.** As in [Slack](https://slack.com/) and [Discord](https://discord.com/), commands such as `/help` or `/schedule` give power users fast access to functions.
- **Attachments.** File, image and screenshot uploads with clear previews and size limits.
- **Voice input.** Often faster than typing, especially on mobile.
- **Emoji and GIF pickers.** Useful in social and community chat, rarely needed in support or AI tools.

Well-known examples include Google Messages' smart replies, Slack's and Discord's slash commands, and Telegram's custom keyboards and menus for bots.

**Benefits:** less typing, fewer ambiguous answers, faster routine tasks, easier entry of dates and locations, and better discovery of features users did not know about.

**Risks:** too many options clutter the interface, rigid choices can stop users expressing what they actually mean, poor suggestions frustrate, and building context-aware inputs takes extra development.

Tips:

- Base suggestions on the conversation so far, and test them against real conversation data.
- Always let users ignore the suggestions and type freely.
- Make special inputs discoverable, for example with a visible attachment button and a hint that slash commands exist.
- Design for both first-time users and power users.

## Hybrid design: visual components inside the chat

Hybrid design places graphical components inside the conversation where they make a task easier, such as a support bot that shows product images and options directly in the chat so users never leave the thread.

| Component | Best use cases | User benefit | Complexity | Accessibility notes |
|---|---|---|---|---|
| Buttons and quick replies | Frequent requests, fixed options | Fast, low effort | Low | Clear labels, keyboard focus |
| Carousels | Products, galleries, several options | Easy browsing | Medium | Alt text, keyboard and swipe controls |
| Images and video | Demonstrations, visual instructions | Better understanding | Medium | Alt text, captions, contrast |
| Interactive forms | Collecting details, bookings | Fewer errors, no external page | High | Labeled fields, keyboard access, clear errors |
| Progress indicators | Long tasks, uploads | Manages expectations | Low | Text status and ARIA attributes, not only animation |

### Deciding between text and visuals

Too many visuals clutter the conversation; too much text makes it tedious. Decide case by case:

- **User goal.** Booking an appointment benefits from a form or picker; a simple question is best answered in text.
- **Information complexity.** Comparisons, data and processes are often clearer as a table, chart or diagram.
- **Context.** Mobile users need compact components; desktop users can take wider cards.
- **Accessibility.** Every visual component needs a text alternative and keyboard support.

Keep visuals relevant to the current step, introduce them gradually, organize them with a clear hierarchy and use one consistent design language across all components.

## Persistent context UI

In long or complex conversations, important information scrolls away. A persistent context UI keeps it visible.

Common elements include a header showing the topic or participants, pinned messages, thread or topic indicators, live status such as online state or typing indicators, conversation summaries and tools relevant to the current context.

Real products show how this works. [Slack](https://slack.com/) uses channel details and pinned items. Microsoft Teams shows meeting details beside the meeting chat. [Intercom](https://www.intercom.com/) displays a customer context panel next to the conversation, so support agents see account details without switching tools. [Discord](https://discord.com/) uses server and channel headers to orient people inside large communities. AI assistants increasingly show the active project, attached files or connected tools near the input box.

The benefit is lower cognitive load: users do not have to remember or scroll back for key facts, and group conversations stay on track, for example when the original problem description is pinned during a long troubleshooting thread. The cost is screen space and possible clutter in simple chats.

To implement it well, show only essential information, make context panels collapsible on mobile, separate context visually from the message flow, update it as the conversation changes and test which details your users actually need.

## Progressive disclosure and message chunking

Cognitive load is the mental effort a conversation demands. Good chat design keeps it low, even for complex tasks.

### Progressive disclosure

Progressive disclosure reveals information and options step by step as they become relevant. A food ordering bot might ask about cuisine first, then dietary needs, then show specific dishes, instead of presenting the entire menu at once. Features of this pattern include step-by-step presentation, options that appear only when relevant, guided flows, branching paths based on answers and action buttons that appear just in time.

It reduces overload and keeps conversations focused, and it works especially well for onboarding, banking, insurance claims and other process-driven tasks where people would otherwise feel lost. The risks are that it can slow down experienced users, feel restrictive when poorly designed and hide capabilities people would have used. Provide escape hatches such as "show all options" or a direct command, use visual cues when new options appear and test the balance between guidance and freedom with both new and returning users.

### Message chunking

Split long answers into short, focused pieces, like chapters in a book rather than one endless page. One idea per message, one question at a time, and a clear next step at the end. For AI answers that must be long, use headings, numbered steps and short paragraphs.

### Information hierarchy and orientation

Guide the eye with structure: bold for the key term, numbered lists for steps, tables for comparisons. Help users know where they are with clear cues, such as a step indicator in a multi-step flow, a menu of available topics or quick replies for common next actions. And never ask for information the user already gave; remembering a name or order number shows the system is paying attention and keeps the conversation moving.

Small changes often make a large difference. Rewording one confusing question, adding a quick reply at the step where users stall or showing a summary before confirmation can noticeably improve completion. Test such changes and keep the ones that work.

## Multi-modal chat interfaces

Multi-modal interfaces combine text with voice, images, video, files and screen sharing in one conversation. A quick voice note can be faster than typing, a screenshot can explain a problem instantly, and a video call can resolve confusion that text cannot.

[Discord](https://discord.com/) combined voice, video and text channels in one place. WhatsApp made voice notes a natural part of texting. [Slack](https://slack.com/) and Microsoft Teams bring calls, huddles and screen sharing into work chat. AI assistants now accept images and documents, so a user can upload a photo of a product and ask for troubleshooting tips.

**Benefits:** people can use whichever mode suits them and their situation, communication becomes more expressive, switching between apps disappears, complex information is easier to share, and accessibility improves, for example voice input for people who find typing hard.

**Challenges:** more technical complexity, more risk of a cluttered interface, higher bandwidth and processing needs, permission handling for the microphone and camera, and keeping a coherent, searchable history across media.

Tips:

- Make switching between modes obvious and easy.
- Show clearly which mode is active, such as recording or sharing.
- Integrate all media in the history and keep it searchable, with transcripts for voice.
- Degrade gracefully when a device lacks a camera or microphone.
- Test with a diverse group of users.

## Personality and human-like design

Anthropomorphic design gives a chat interface human-like qualities: an avatar or character, typing indicators, conversational animations, a distinct voice and tone, emotional responses and small touches of humor. Used well, it makes conversations feel less mechanical.

Examples range from AI companion apps such as [Replika](https://replika.com) and [Character.AI](https://character.ai/) to [Lemonade](https://www.lemonade.com/)'s friendly insurance bot and Duolingo's owl mascot.

**Benefits:** more engagement, a warmer experience, more comfort sharing information, and a defined character that helps set expectations about what the bot can do.

**Risks:** the uncanny valley, where an almost-human representation feels unsettling; inflated expectations about the bot's intelligence or empathy; a playful tone in a serious context; cultural differences in how humor and familiarity land; and personality getting in the way of the task.

### Brand voice and emotional intelligence

Whatever personality you choose, keep it consistent with your brand across every message, error and edge case. Emotional intelligence matters more than charm: recognize when a user is frustrated, acknowledge it briefly and offer a faster route or a human. Personalization, such as using a name or remembering earlier preferences, helps when it is useful and feels intrusive when it is not, so give users control over what is remembered.

Keep it subtle, be culturally sensitive, make sure the personality never hides the fact that users are talking to software, and check accessibility for any animation or avatar.

## Errors, recovery and human handoff

No chat interface handles every message correctly, so recovery is part of the design.

- **Say what went wrong in plain language** and offer a next step: rephrase, choose from suggested topics, read a help article or contact a person.
- **Avoid loops.** After two or three misunderstandings in a row, change strategy instead of repeating "I didn't get that".
- **Set expectations upfront.** State what the bot can and cannot do at the start, so users do not waste time on unsupported requests.
- **Confirm before consequential actions,** and show a summary the user can correct.

When a person needs to take over, the interface should make the handoff obvious: say that a human is joining, show expected wait time, and pass the full conversation so the user never repeats themselves. Situations involving sensitive information or upset customers often need human empathy, so make the route to a person easy to find. Features such as personalized greetings, proactive invitations to chat and short post-conversation surveys can further improve the service experience.

## Accessibility and inclusive design

An inclusive chat interface reaches more people and works better for everyone.

### Accessibility foundations

- **Keyboard navigation.** Every button, menu, card and input must be reachable and usable by keyboard, with visible focus.
- **Screen reader support.** Use semantic HTML and [ARIA attributes](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA) so [screen readers](https://webaim.org/techniques/screenreader/) announce new messages, for example with a polite live region, without reading the whole thread again.
- **Clear language.** Short sentences, no unnecessary jargon, one instruction at a time.
- **Contrast and size.** Sufficient color contrast, text that scales, and touch targets large enough to hit.

### Diverse input and customization

Support voice input for people with limited mobility, with clear feedback and error handling. Let users adjust font size, color scheme and notifications. Respect reduced-motion settings for typing animations and transitions.

### Cognitive accessibility

Break complex tasks into small steps, support text with icons or images where they help, and keep the layout and navigation consistent so the interface stays predictable. This benefits people with learning disabilities, ADHD or autism, and anyone using the chat while distracted.

### Evaluating inclusivity

Test with diverse users, including people who use assistive technology, run automated and manual audits against [WCAG](https://www.w3.org/WAI/standards-guidelines/wcag/), and give users an easy way to report problems. Treat accessibility as ongoing work, not a one-time check.

## Privacy, transparency and user control

People share personal details in chat, often without thinking about it. The interface should help them stay in control.

- Tell users clearly what is stored, for how long and whether conversations are used to improve the system.
- Make history easy to view, export and delete.
- Show when the user is talking to an AI and when a human has joined.
- Ask before using personal data for recommendations, and let users switch personalization off.
- Warn before users paste obviously sensitive data such as passwords or card numbers.

Transparency is not only a compliance task. Interfaces that explain themselves earn the trust that makes people willing to use chat for important tasks.

## Measuring chat UI performance

A good-looking chat interface still has to deliver results. Choose metrics that reflect its purpose.

### Key performance indicators

- **Task completion rate.** How often users achieve what they came for.
- **Conversation completion and drop-off.** Where conversations end without a result.
- **Resolution time and average handling time.** How quickly queries are resolved.
- **Customer satisfaction (CSAT).** Ratings at the end of conversations.
- **Conversion rate.** Purchases, sign-ups or bookings that start in chat.
- **Support costs.** How much self-service reduces the load on human agents.
- **Sentiment.** The emotional tone of user messages across conversations.

A support bot should focus on resolution and satisfaction; a sales assistant on qualified leads and conversions; an AI assistant on task success, feedback ratings and how often users regenerate or rephrase.

### Benchmarks and A/B testing

Set benchmarks from your own history and your goals, then improve against them. A/B test one change at a time, such as a different greeting, button placement or the wording of a question, and compare results on your chosen KPIs.

### Qualitative evaluation

Read conversation logs, collect feedback and watch real users. Tools such as [heatmaps](https://www.hotjar.com/heatmaps/) and session recordings show where people hesitate or abandon an interaction on the page. Combine numbers with observation: metrics show where a problem is, watching users shows why.

Optimization is continuous. User expectations and the technology change, so keep monitoring, testing and refining.

## Comparing the patterns

| Pattern | Implementation complexity | Resource needs | Expected outcome | Ideal use cases | Key advantage |
|---|---|---|---|---|---|
| Conversational bubbles | Low to medium | Minimal | Clear participants and flow | Messaging, simple support chat | Familiar and intuitive |
| Assistant cards | Medium to high | Moderate to high | Readable, actionable rich answers | AI assistants, support bots | Handles complex output |
| Streaming responses | Medium | Moderate | Immediate feedback, stoppable replies | AI chat | Feels fast and transparent |
| Tool call display | Medium | Moderate | Visible, verifiable agent actions | AI agents and assistants | Builds trust in actions |
| Contextual input | Medium | Moderate | Less typing, faster tasks | Bookings, commands, smart replies | Streamlines input |
| Hybrid components | Medium to high | Moderate | Easier selection and data entry | Commerce, forms, comparisons | Combines chat and GUI strengths |
| Persistent context | Medium | Moderate | Context kept in long chats | Team chat, support consoles | Lower cognitive load |
| Progressive disclosure | Medium | Minimal to moderate | Guided, focused flows | Onboarding, banking, claims | Prevents overload |
| Multi-modal input | High | High | Richer, more flexible communication | Collaboration, AI assistants | Fits many preferences |
| Personality | Medium to high | Moderate to high | Engagement and warmth | Companions, branded bots | Humanizes the experience |

## Where chat UI design is heading

A few directions look durable. Multi-modal input will keep growing, with voice, images and documents treated as normal parts of a conversation. Assistants will take more actions on the user's behalf, which makes clear tool call displays, approvals and undo more important. Interfaces will adapt more to tone and context, recognizing frustration and changing approach. Spatial computing may eventually move chat beyond the screen, for example an assistant that projects cooking instructions next to the user, though that is still early.

The fundamentals will not change:

- Keep the user's goal at the center of every design decision.
- Aim for clear, concise and predictable interfaces.
- Make the system's state visible: working, finished, waiting or failed.
- Design for accessibility and privacy from the start.
- Test with real users and iterate based on evidence.

If you are building the bot behind the interface as well, our guide on [how to build an AI chatbot](/blog/how-to-build-ai-chatbot/) covers planning, tech stacks, integrations and launch.
