One assistant row moving from thinking, to typing, to settled.
For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.
Best for: A spinner line, then text revealed 4 characters at a time behind a caret, and the full answer at once under reduced motion
When to use
- Chat, support and team threads laid out turn by turn, with avatars, sender names and read receipts
- Assistant replies carrying a copy, regenerate and rating toolbar, or a pending then streaming state
- Shared images and documents carried in a turn beside its text
When not to use
- A settled answer that needs copy, regenerate and rating buttons under it: use the Message Reply Actions example
- A streaming reply in a long thread that has to keep the newest text in view: use the Message Scroller component
- A text surface on its own, with no avatar slot, metadata row or side switching: use the Bubble component
- A complete assistant screen with a composer, a thread switcher and streaming controls: use the AI Chat blocks
Agent notes
- The reveal is a timer over the fixed
ANSWERstring; setrevealedor the text from your token stream - Keep the
rolestatus span mounted in both states, since a live region inserted together with its text is not announced - On an
alignend row only children ofMessageContentthat carry adata-slotmove to the end; a plain element there keeps to the start MessageHeaderandMessageFooterset no gap, so a header or footer built from several nodes needs its own gap class
https://web.dev.reui.io/components/message/c-message-7.mdget_example("c-message-7")npx shadcn@latest add @reui/c-message-7About Shadcn Message Streaming Reply
Streaming reply with a pending state. Built by composing Bubble, Button, Marker, Message, Spinner. A free, open source shadcn message example you can install with npx shadcn@latest add @reui/c-message-7 and edit as your own code.
What You Can Build With Shadcn Message Streaming Reply
- Composes Bubble, Button, Marker, Message, Spinner, so it drops into any project already using those components.
- Install it with the shadcn CLI: npx shadcn@latest add @reui/c-message-7
- Open source and free, with the full source on this page to copy or adapt.
More Shadcn Message Examples
- Two-Sided Chat Two-sided conversation
- Avatars Avatars on both sides
- Sender & Status Sender name and delivery status
- Reply Actions Reply actions in the footer
- Shared Files Files shared in a thread
- Consecutive Messages Consecutive messages from one sender
Related Shadcn Component Categories
Open-source shadcn message scroller components for chat transcripts, streaming replies, and jump-to-latest scrolling.
Open-source shadcn native select components for lightweight selects, mobile-friendly forms, and basic option picking.
Open-source shadcn navigation menu components for site navigation, mega menus, and product navigation.
Open-source shadcn number field components for quantity pickers, pricing inputs, and step controls.
Open-source shadcn pagination components for table pagination, search results, and content archives.
Open-source shadcn phone input components for international signup, contact forms, and country codes.
Frequently Asked Questions
When should I use Shadcn Message Streaming Reply?
Use it for a spinner line, then text revealed 4 characters at a time behind a caret, and the full answer at once under reduced motion.
Shadcn Message as a whole fits:
- Chat, support and team threads laid out turn by turn, with avatars, sender names and read receipts
- Assistant replies carrying a copy, regenerate and rating toolbar, or a pending then streaming state
- Shared images and documents carried in a turn beside its text
For a settled answer that needs copy, regenerate and rating buttons under it, use the Message Reply Actions example. For a streaming reply in a long thread that has to keep the newest text in view, use the Message Scroller component. For a text surface on its own, with no avatar slot, metadata row or side switching, use the Bubble component. For a complete assistant screen with a composer, a thread switcher and streaming controls, use the AI Chat blocks.
How do I install Shadcn Message Streaming Reply?
Is Shadcn Message Streaming Reply free to use?
Which components does Shadcn Message Streaming Reply use?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.