# Application Chat and Messaging: Message Thread

Chat thread with grouped sender bubbles, a Today day divider, a reaction chip, and a read receipt on the last outgoing message.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/message-thread
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Chat and Messaging](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging)
- Created: 2026-06-15
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/message-thread.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-chat-messaging-message-thread
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: lucide-react
- shadcn/ui components: avatars
- Installs to: `@/components/blocks/application-pro/chat-messaging/message-thread`

## About this block

Message Thread is the conversation surface between
Avery Stone and Maya Chen, messages grouped by sender
so the avatar renders once per run, outgoing bubbles
right-aligned in bg-foreground with text-background,
incoming left-aligned in bg-muted. A "Today" day
divider breaks the earlier exchange from the current
session, and the final outgoing bubble, "Let us aim to
close ACM-231 before Friday," carries a CheckCheck read
receipt. One earlier message has a reaction chip, a
thumbs-up with a count of 1.

Thread data splits across two arrays split by the day
divider. Rendering the avatar once per sender group is
what makes the layout read as conversation rather than
a list.

## When to use

Reach for this block as the main content area of a chat
view, wired to your messages endpoint with a thread ID.
Pair it above a [message composer](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging)
and below a [channel list sidebar](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging)
or [conversation list](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging).

A natural flow around it on an Application Pro page:

**Before**

- [Conversation list](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging)
- [Channel list sidebar](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging)

**After**

- [Message composer](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging)
- [Thread reply panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging)

## What you can display

One strong use is the 1:1 message history view. Other
thread shapes:

- **Channel thread.** Multiple participants, each with
  their own avatar, no right-aligned self column.
- **Support conversation.** Customer on one side, agent
  on the other, with a ticket status header.
- **AI chat.** User bubbles right, assistant bubbles
  left with a model avatar.

> Tip: the day divider is load-bearing context; without
> it users lose track of whether they are reading today
> or last week.

## More in Application Chat and Messaging

- [Active Call Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/active-call-panel)
- [Channel Directory](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/channel-directory)
- [Channel List Sidebar](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/channel-list-sidebar)
- [Channel Settings Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/channel-settings-panel)
- [Conversation List](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/conversation-list)
- [Dm Thread Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/dm-thread-panel)
- [Emoji Reactions Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/emoji-reactions-blueprint)
- [Member Profile Drawer](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/member-profile-drawer)
- [Mentions Activity Feed](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/mentions-activity-feed)
- [Message Composer](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/message-composer)
- [Pinned Messages Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/pinned-messages-panel)
- [Poll Message Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/poll-message-card)
- [Scheduled Messages Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/scheduled-messages-panel)
- [Search Messages Results](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/search-messages-results)
- [Shared Files Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/shared-files-panel)
- [Thread Reply Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/thread-reply-panel)
- [Voice Message Thread](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/voice-message-thread)
