# P avatar 11

> Rounded avatar with notification badge

A shadcn/ui block from the [@coss](https://coss.com/ui) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/coss/p-avatar-11).

- Page, with a live preview: https://shadcn.exchange/r/coss/p-avatar-11
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/coss/p-avatar-11-light-e1959f34eba3e56a.png
- Registry item: https://coss.com/ui/r/p-avatar-11.json
- Categories: avatar
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://coss.com/ui/r/p-avatar-11.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: `@coss/avatar`, `@coss/badge`

## Files

### `registry/default/particles/p-avatar-11.tsx`

```tsx
import {
  Avatar,
  AvatarFallback,
  AvatarImage,
} from "@/registry/default/ui/avatar";
import { Badge } from "@/registry/default/ui/badge";

export default function Particle() {
  return (
    <div className="relative">
      <Avatar className="rounded-lg">
        <AvatarImage
          alt="User"
          src="https://images.unsplash.com/photo-1543610892-0b1f7e6d8ac1?w=128&h=128&dpr=2&q=80"
        />
        <AvatarFallback className="rounded-lg">LT</AvatarFallback>
      </Avatar>
      <Badge
        className="absolute -end-1.5 -top-1.5 rounded-full outline-2 outline-background outline-solid"
        size="sm"
      >
        6
      </Badge>
    </div>
  );
}
```
