Message
Renders a single message within a conversational or chat layout.
$
Registry itembunx shadcn@latest add @nx-ui/messageInstalls withutils
Basic usage
A Message lays out a header, content and footer; align='end' flips it to the right for the current user.
Grouping consecutive messages
Wrap several Messages from the same sender in a MessageGroup — the avatar only needs to appear once per group.
States
A pending send shows a spinner in the footer; a failed send surfaces an inline retry.
Ghost variant
Pass variant='ghost' to Bubble for a chrome-free look — MessageHeader and MessageFooter lose their inset padding to match.
Composition: two-party conversation
Messages, groups, avatars and a composer combined into a realistic Nexus ReGen project thread.
API reference
Exported parts and their props, extracted from the component source.