# With avatar

> User avatar photo placed before the name and subtitle.

A shadcn/ui block from the [@flx](https://ui.flexnative.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/flx/item-06).

- Page, with a live preview: https://shadcn.exchange/r/flx/item-06
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/flx/item-06-light-cabceed71e9f2e19.png
- Registry item: https://ui.flexnative.com/r/item-06.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.flexnative.com/r/item-06.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: `item`, `avatar`

## Files

### `registry/patterns/item/item-06.tsx`

```tsx
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'
import {
  Item,
  ItemContent,
  ItemDescription,
  ItemMedia,
  ItemTitle,
} from '@/components/ui/item'

export function Item06() {
  return (
    <Item variant="outline" className="w-full max-w-md">
      <ItemMedia variant="image">
        <Avatar className="size-full rounded-sm">
          <AvatarImage
            src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=200&q=80"
            alt=""
          />
          <AvatarFallback>SC</AvatarFallback>
        </Avatar>
      </ItemMedia>
      <ItemContent>
        <ItemTitle>Sarah Chen</ItemTitle>
        <ItemDescription>Product designer · Berlin</ItemDescription>
      </ItemContent>
    </Item>
  )
}
```
