Read receipts
Where a sent message has got to: a clock while sending, one tick once sent, two once delivered, and the faces of the people who have read it. A message that failed says so in words and offers Retry.
Pushed the new onboarding flow, can you all take a look before 3?
When to use
- Direct messages and small group chats where knowing it was seen changes what you do next.
- Outbound messages to customers, where delivery can fail.
When not to use
- Large channels, where "read by 140" is noise; show a count or nothing.
- Places where being seen should stay private; let people turn receipts off.
Installation
pnpm dlx shadcn@latest add @caliper/read-receipts
Adds its 3 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
ReadReceipts
5 props
Also accepts the native props of its root element and a ref.
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It is built on native elements and keeps aria-live and aria-hidden 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/read-receipts.mdThe index of every part is at /llms.txt.