Skip to main content

Chat UI Design: Bubbles, Composers and Read States

A practical chat UI design guide with specs for message bubbles, grouping, the composer, read receipts, typing indicators, media, and every state to design.

Insights11 min read2,067 words

This guide is for designers and developers building messaging into an app, whether it's a full chat product, customer support, marketplace buyer-seller messages or an AI assistant. You'll get concrete specs for bubbles, grouping, the composer and read states, plus the states and edge cases that separate a convincing chat UI from a demo.

TL;DR: Good chat UI design makes three things obvious at a glance: who said what, in what order, and whether it was received and read. Use two clearly different bubble styles, group consecutive messages, keep the composer pinned above the keyboard and growing with text, and show delivery status only where it helps.

The anatomy of a chat screen

Every one-to-one or group chat screen has the same building blocks:

  1. •Header: back, avatar, name, status line (online, last seen, typing, member count), and actions (call, video, info).
  2. •Message list: bubbles, timestamps, date separators, system messages.
  3. •Composer: attachments, text input, send or voice button.
  4. •Overlays: reactions, reply previews, context menus, scroll-to-bottom button.

The list scrolls; the header and composer stay put. Newest messages sit at the bottom, closest to the composer and the thumb.

Message bubble specs

These are solid starting points that match what users know from iMessage, WhatsApp and Messenger.

PropertyRecommended valueWhy
Max bubble width75–80% of the screen widthLeaves a clear gutter so sender alignment reads instantly
Horizontal padding12–16ptText doesn't touch the edge
Vertical padding8–10ptSingle-line bubbles stay compact
Corner radius16–20ptFriendly, and clearly distinct from cards
Text size17pt on iOS, 16sp on AndroidPlatform body defaults
Gap within a group2–4ptShows messages belong together
Gap between groups8–16ptShows a change of speaker or time
Side margin8–16ptBubbles sit close to their edge

Outgoing vs incoming

  • •Outgoing (yours): right-aligned, filled with the brand or accent colour, white or very light text.
  • •Incoming (theirs): left-aligned, a neutral grey or surface colour, primary text colour.

Check the outgoing pair with the contrast checker: white text on a light brand colour often fails WCAG 2's 4.5:1 for body text. iMessage's blue and WhatsApp's green outgoing bubbles both pair colour with alignment, so meaning never depends on colour alone.

Tails and corners

Bubble "tails" point to the sender. A modern, cleaner approach is to change one corner radius instead: in a group of consecutive outgoing messages, the bottom-right corner of the last bubble gets the tail or a tighter radius, while middle bubbles have tighter corners on the sender's side. This makes a run of messages read as one block.

Grouping messages

Grouping reduces noise and makes long chats scannable.

Group consecutive messages from the same sender when they're sent within a short window, a minute or two is common. Within a group:

  • •Show the avatar only once, next to the last bubble (group chats only; one-to-one chats usually don't need incoming avatars).
  • •Show the sender's name only once, above the first bubble (group chats only).
  • •Show the timestamp only once, or on tap.

Break groups when the sender changes, when enough time passes, or when a system message appears.

Date separators ("Today", "Yesterday", "Mon 3 Nov") sit centred between groups when the day changes. Make them small, secondary-coloured and sticky at the top while scrolling if you can; WhatsApp does this and it's helpful in long threads.

Timestamps

Showing a time on every message is noisy. Better options:

  1. •Time at the end of each group, small and secondary.
  2. •Time inside the bubble, bottom-right, alongside delivery ticks (WhatsApp's approach).
  3. •Time revealed on swipe or tap (iMessage lets you swipe left to see times).

Pick one and use it consistently. Use the device's locale and 12 or 24-hour setting.

Read states and delivery receipts

Status tells the sender whether their message got through. Design all of these, even if you only show some:

StateCommon visualNotes
SendingClock icon or faded bubbleOptimistic UI: show the bubble instantly
SentSingle tickReached your server
DeliveredDouble tick or "Delivered"Reached the recipient's device
ReadColoured double tick or "Read 14:32"Respect the recipient's privacy setting
FailedRed alert icon with "Tap to retry"Never silently drop a message

WhatsApp uses one grey tick for sent, two grey ticks for delivered and two blue ticks for read. iMessage shows "Delivered" or "Read" in small text under only the latest outgoing message, which keeps the thread clean.

Recommendations:

  • •Show status on the latest outgoing message only, or keep it very small on each.
  • •Let users turn off read receipts, and make the setting reciprocal if you follow WhatsApp's model.
  • •In group chats, show "Read by 4" with a tap-through to the list, not a row of avatars on every message.
  • •Make failed messages unmissable, with retry and delete options.

Typing indicators and presence

  • •Typing indicator: three animated dots in an incoming-style bubble at the bottom of the list, or "typing…" in the header status line. Use one, not both.
  • •Group typing: "Ana is typing…" or "Ana and Leo are typing…", then "Several people are typing…".
  • •Presence: "Online" or "Last seen 10:42" in the header. Let users hide it.
  • •Respect Reduce Motion: swap the bouncing dots for a static or gently fading version.

The composer

The composer is the most used control in the app. Get these details right.

Layout

ElementSpec
Bar height (single line)44–56pt including padding
Text fieldRounded, 36–40pt tall at one line
GrowthExpands with text up to about 5–6 lines, then scrolls internally
Attach buttonLeft side, 44pt tap target
Send buttonRight side, 44pt tap target, appears or enables when text exists
Voice buttonSwaps with send when the field is empty (WhatsApp, Telegram pattern)

Keyboard behaviour

  • •The composer must sit directly above the keyboard and move with it.
  • •The message list should keep the newest message visible when the keyboard opens.
  • •Dragging the list down can dismiss the keyboard interactively, as in iMessage.
  • •On iOS, respect the bottom safe area when the keyboard is closed. The notch and safe area simulator helps you check spacing around the home indicator.

Send behaviour

  • •Disable send for whitespace-only messages.
  • •On mobile, Return should usually insert a new line, with Send as a button. On desktop and web, Enter sends and Shift+Enter adds a line.
  • •Clear the field instantly on send and show the bubble optimistically.
  • •Save drafts per conversation, and show "Draft" in the conversation list.

Replies, reactions and editing

  • •Reply: swipe right on a bubble (WhatsApp, Instagram) or long-press → Reply. Show a quoted preview above the composer with a close button, and a compact quote inside the reply bubble that scrolls to the original on tap.
  • •Reactions: long-press shows a row of six or so quick emoji above the bubble, plus a "more" option. Display reactions as a small pill overlapping the bubble's bottom corner.
  • •Context menu: Reply, React, Copy, Forward, Edit (own messages, time-limited), Delete, Report (others' messages).
  • •Edited and deleted: show "Edited" in small text; replace deleted content with "This message was deleted" in italic secondary text so the conversation still makes sense.

Media, links and voice messages

  • •Images and video: show inside the bubble at a sensible max height, with rounded corners matching the bubble. Show upload progress over the thumbnail and allow cancel.
  • •Multiple images: a 2 by 2 grid with a "+3" overlay on the last tile.
  • •Links: a preview card with title, domain and image beneath the text.
  • •Voice messages: play button, waveform, duration, playback speed control. Mark unplayed messages with a dot.
  • •Files: icon, name, size and a download state.

System messages

"Ana added Leo", "Messages are end-to-end encrypted", "Call ended · 4 min". Centre them, use small secondary text, and no bubble. Keep them visually quiet; they're context, not conversation.

Every state to design

A chat UI isn't finished until these exist:

  1. •Empty conversation: a friendly prompt ("Say hi to Ana") and, for support or AI chat, suggested starter messages. See empty state design for patterns.
  2. •Loading history: a spinner at the top while older messages load, without jumping the scroll position.
  3. •Offline: a banner in the header ("Waiting for network…"), messages queued as Sending.
  4. •Failed message: alert icon, tap to retry.
  5. •Blocked or left: the composer replaced by "You can't reply to this conversation."
  6. •Very long message: collapse past a set length with "Read more".
  7. •Unread jump: a "New messages" divider and a scroll-to-bottom button with an unread count.
  8. •Dark mode: incoming bubbles need a lifted surface colour, not pure black. Our dark mode app design guide covers surface levels.

Chat UI for AI assistants

AI chat adds a few patterns of its own:

  • •Responses often render as full-width text rather than bubbles, because they're long and contain lists, code and tables.
  • •Stream text as it generates, with a stop button in place of send.
  • •Offer copy, regenerate and feedback actions under each response.
  • •Show suggested prompts in the empty state.

The conversation list

Most chat features also need an inbox. Each row: avatar (48–56pt), name, last message preview (one or two lines), time, unread badge, and muted or pinned icons. Support swipe actions for archive, mute and mark as read. If your chat sits inside a social product, our guide on how to make a social media app covers how messaging fits the wider product.

You can generate a first draft of a chat screen and inbox in floow, then tune bubble colours and states through chat.

Chat UI design checklist

  • •Outgoing and incoming bubbles differ by alignment and colour.
  • •Bubble text passes 4.5:1 contrast in light and dark mode.
  • •Max bubble width leaves a clear gutter.
  • •Consecutive messages are grouped, with avatars and names shown once.
  • •Date separators appear when the day changes.
  • •Delivery status covers sending, sent, delivered, read and failed.
  • •Composer grows to about 5–6 lines and stays above the keyboard.
  • •All tap targets are at least 44pt or 48dp.
  • •Reply, react, copy, delete and report are reachable by long-press.
  • •Empty, offline, failed and blocked states are designed.
  • •Animations respect Reduce Motion. More in our mobile app accessibility guide.

FAQ

What makes a good chat UI design?

Clear sender distinction through alignment and colour, grouping that reduces clutter, readable text at platform sizes, a composer that stays above the keyboard, and honest delivery status. It also handles failure gracefully, with retry for failed messages and clear offline states.

How wide should chat bubbles be?

A common rule is a maximum of 75 to 80 percent of the screen width. That keeps a visible gutter on the opposite side so it's instantly clear who sent each message, and keeps line lengths comfortable for reading.

Should chat apps show read receipts?

Read receipts help in support and work chats where response matters, but they can create social pressure in personal messaging. Offer them with a clear privacy setting, and consider showing status only on the latest message to keep the thread calm.

Design it with floow

floow generates native-feeling chat screens with grouped bubbles, read states and a composer you can refine through chat. Paste this into floow.design: "Design an iOS chat screen for a marketplace buyer and seller: grouped message bubbles in indigo and light grey, a date separator, an image message with upload progress, read receipts on the latest message, a typing indicator and a growing composer with attach and send buttons."

Design your mobile app with AI.

Generate pixel-perfect iOS and Android screens in seconds, then export to Figma or code.