# Application Chat and Messaging: Voice Message Thread

An audio thread of chat bubbles, each with a play control, waveform, and duration, plus an active note with elapsed time and a transcript preview.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/voice-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-07-10
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/voice-message-thread.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-chat-messaging-voice-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: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: avatars, button
- Installs to: `@/components/blocks/application-pro/chat-messaging/voice-message-thread`

## About this block

Voice Message Thread is a conversation carried by audio
notes in one block, a header showing Maya Chen with a
recording status line, and four voice bubbles alternating
incoming and outgoing. Each bubble pairs a play control, a
static waveform split into played and remaining bars, and a
duration. The active note from Maya Chen shows a pause
control, elapsed time against total, and a 1.5x playback
speed chip, and one incoming note carries an auto
transcript preview beneath its waveform. A footer hint
explains the hold to record gesture and automatic
transcription.

Notes are one typed array, and the waveform played split is
driven by a playedBars count per note. Outgoing bubbles
invert the waveform and text colors so direction reads at a
glance.

## When to use

Reach for this block when a chat thread carries voice notes
rather than text, wired to your audio store with the play
and pause controls bound to a real player and the waveform
progress reflecting playback position. Use the standalone
[message thread](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging)
when the conversation is text first.

A natural flow around it on an Application Pro page:

**Before**

- [Conversation list](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging)
- [App shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells)

**After**

- [Media gallery](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery)
- [Notifications](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications)

## What you can display

One strong use is the voice notes DM thread. Other audio
message shapes:

- **Podcast review thread.** Longer notes with chapter
  timestamps in the duration slot.
- **Field report.** Incoming notes only, each with a
  transcript preview for skim reading.
- **Language practice.** Paired notes with transcripts on
  both sides for review.

> Tip: always ship the transcript preview on at least one
> note; it signals that audio here is searchable, not a
> dead end for anyone who cannot listen.

## 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)
- [Message Thread](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/message-thread)
- [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)
