# Sender name and delivery status

> Header for identity, footer for status, and how each one picks its side.

A shadcn/ui block from the [@reui](https://reui.io) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/reui/c-message-3).

- Page, with a live preview: https://shadcn.exchange/r/reui/c-message-3
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/reui/c-message-3-light-dd632b0788a1b182.png
- Registry item: https://reui.io/r/new-york-v4/c-message-3.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://reui.io/r/new-york-v4/c-message-3.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `bubble`, `message`

## Files

### `c-message-3.tsx`

```tsx
import { Bubble, BubbleContent } from "@/components/ui/bubble"
import {
  Message,
  MessageContent,
  MessageFooter,
  MessageHeader,
} from "@/components/ui/message"

/*
 * The two metadata slots pick their side differently: MessageHeader stays
 * where the content starts whatever the row does, while MessageFooter follows
 * the row to the end. Both inherit the bubble's horizontal padding.
 */
export function Pattern() {
  return (
    <div className="mx-auto flex w-full max-w-sm flex-col gap-7">
      <Message>
        <MessageContent>
          {/*
            The primitive ships no gap, so a header built from more than one
            node supplies its own. The separator is a decorative dot rather than a
            typographic interpunct, and aria-hidden so the row is announced as
            "Emma Wilson 09:38".
          */}
          <MessageHeader className="gap-1.5">
            Emma Wilson
            <span
              aria-hidden="true"
              className="bg-muted-foreground/40 size-1 shrink-0 rounded-full"
            />
            <span className="tabular-nums">09:38</span>
          </MessageHeader>
          <Bubble variant="muted">
            <BubbleContent>
              The invoice template is missing the VAT line on EU orders.
            </BubbleContent>
          </Bubble>
        </MessageContent>
      </Message>

      <Message align="end">
        <MessageContent>
          <Bubble>
            <BubbleContent>
              Fixed on the 4.2 branch. It ships with tonight&apos;s release.
            </BubbleContent>
          </Bubble>
          <MessageFooter>Read 09:41</MessageFooter>
        </MessageContent>
      </Message>

      <Message>
        <MessageContent>
          <MessageHeader className="gap-1.5">
            Emma Wilson
            <span
              aria-hidden="true"
              className="bg-muted-foreground/40 size-1 shrink-0 rounded-full"
            />
            <span className="tabular-nums">09:42</span>
          </MessageHeader>
          <Bubble variant="muted">
            <BubbleContent>
              Then I will re-run the January batch once it is out.
            </BubbleContent>
          </Bubble>
          <MessageFooter className="gap-1.5">
            <span>Edited</span>
            <span
              aria-hidden="true"
              className="bg-muted-foreground/40 size-1 shrink-0 rounded-full"
            />
            <span className="tabular-nums">09:44</span>
          </MessageFooter>
        </MessageContent>
      </Message>
    </div>
  )
}
```
