# User message notification alert

> User message notification alert

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

- Page, with a live preview: https://shadcn.exchange/r/reui/c-alert-19
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/reui/c-alert-19-light-8d49eeb89a7675a5.png
- Registry item: https://reui.io/r/new-york-v4/c-alert-19.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-alert-19.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: `@reui/alert`, `avatar`, `button`, `@reui/frame`

## Files

### `c-alert-19.tsx`

```tsx
import {
  Alert,
  AlertAction,
  AlertDescription,
  AlertTitle,
} from "@/components/reui/alert"
import { Frame, FramePanel } from "@/components/reui/frame"

import {
  Avatar,
  AvatarFallback,
  AvatarImage,
} from "@/components/ui/avatar"
import { Button } from "@/components/ui/button"

export function Pattern() {
  return (
    <div className="mx-auto mb-auto w-full max-w-lg">
      <Frame>
        <FramePanel className="overflow-hidden p-0!">
          <Alert className="grid-cols-[32px_1fr] gap-x-3 border-0 shadow-none">
            <Avatar className="size-8 border">
              <AvatarImage
                src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?w=96&h=96&dpr=2&q=80"
                alt="Alex Johnson"
              />
              <AvatarFallback>AJ</AvatarFallback>
            </Avatar>
            <AlertTitle className="flex items-center gap-2">
              <span className="truncate">Alex Johnson</span>
              <span className="text-muted-foreground truncate font-normal">
                sent you a message
              </span>
            </AlertTitle>
            <AlertAction>
              <Button size="xs" variant="outline">
                View
              </Button>
              <Button size="xs">Reply</Button>
            </AlertAction>
            <AlertDescription className="line-clamp-1">
              &quot;Hey! I&apos;ve finished the draft for the new design system.
              Let me know what you think when you have a moment.&quot;
            </AlertDescription>
          </Alert>
        </FramePanel>
      </Frame>
    </div>
  )
}
```
