ChatMessage
One turn in a conversation: avatar, sender and time, the content stack and a status footer.
Installation
Import from @gaudi/design-system. Load @gaudi/design-system/global.css once and add transpilePackages: ['@gaudi/design-system'] in Next.js.
Copy an example into your project with the shadcn CLI: npx shadcn@latest add https://design.gaudi.site/r/chat-error-retry-suggestions.json.
Usage
Examples
Error, retry and suggestions
Delivered files and data
Assistant reply
Team conversation
API
4 props
Accessibility
Name the sender in a header or visually hidden text; side alone is lost when a thread is read aloud.
Related
AvatarProfile images, resilient initials, presence, verification, account menus and collaborator groups. The existing Avatar API and curated patterns share the same image and fallback primitives.10 examplesChatBubbleThe surface around a message, with seven variants and reactions.4 examplesAttachmentFile attachments with metadata, previews, actions and upload states.4 examplesItemFlexible rows for people, settings, integrations, navigation and activity lists, composed from media, text, actions and optional header and footer rows.11 examplesChatAgentMarkThe assistant’s mark: a Gaudí-inspired motif glazed in a tile hue picked from a seed, or an icon, image or monogram on a token tile, with an optional activity badge.ChatMessageListThe conversation: a scroller that keeps the thread anchored and ChatMessageParts rendering each assistant turn from its parts.6 examples