Messaging app
A complete messaging block: conversations with unread counts and search beside the open conversation, grouped bubbles with day separators, read receipts on your latest message, reactions, typing, and a composer that previews attachments before they go. On a phone the list and the conversation stack, with Back.
Messages3 unread
Kofi Mensah
Online
Saturday 28 November
Perfect. The terrace would work for the dinner.Monday 30 November
When to use
- Direct and small-group messages inside a product: support, marketplaces, team tools.
- Any inbox where people reply to each other rather than to an assistant.
When not to use
- A conversation with an assistant; use `chat-thread` or the assistant parts.
- Comment threads on a document; use the comment parts.
Installation
pnpm dlx shadcn@latest add @caliper/messaging-app
Adds its 11 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
MessagingApp
12 props
fileSize
0 props
No props of its own; it accepts the native props of its root element.
Keyboard
- Enter
- Activates the focused control.
Accessibility
It exposes status and log semantics, with aria-label, aria-hidden and aria-current kept in step with state. Changes that matter are announced through a live region.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/messaging-app.mdThe index of every part is at /llms.txt.