# Avatar Standard 25 - Avatar with Custom Colors

> Circular avatar with blue custom-colored fallback background.

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

- Page, with a live preview: https://shadcn.exchange/r/shadcnblocks/avatar-avatar-standard-25
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcnblocks/avatar-avatar-standard-25-light-99caa9684b4a909a.png
- Registry item: https://shadcnblocks.com/r/avatar-avatar-standard-25.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://shadcnblocks.com/r/avatar-avatar-standard-25.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: `avatar`

## Files

### `example/avatar/avatar-standard-25.tsx`

```tsx
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";

export const title = "Avatar with Custom Colors";

const Example = () => (
  <Avatar>
    <AvatarImage
      alt="@haydenbleasel"
      src="https://github.com/haydenbleasel.png"
    />
    <AvatarFallback className="bg-blue-500 text-white">HB</AvatarFallback>
  </Avatar>
);

export default Example;
```
