# Avatar

A configurable, accessible avatar surface for AI product workflows.

## Installation

```bash
npx shadcn@latest add https://amro-ui.vercel.app/r/avatar.json
```

[Registry JSON](https://amro-ui.vercel.app/r/avatar.json)

## Preview

```tsx
import { Avatar } from "@amro-ui/react";

export function Preview() {
  return (
    <div className="grid min-h-72 w-full place-items-center rounded-xl border bg-background p-6 sm:p-10">
      <Avatar name="Amro Assistant" />
    </div>
  );
}
```


## Source

### ui/avatar.tsx

```tsx
"use client";

import "@/components/amro/amro-ui.css";

export { Avatar } from "@/components/amro/components/avatar";
export type { AvatarProps } from "@/components/amro/components/avatar";
```



## Usage

A configurable, accessible avatar surface for AI product workflows.

### Package

```tsx
import { Avatar } from "@amro-ui/react";

<Avatar />
```

### shadcn copy

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

<Avatar />
```

