The Avatar component displays a circular avatar image or initial.
Prop | Type | Description |
---|---|---|
className | string | Additional CSS classes. |
src | string | Avatar image source URL. |
name | string | Name used to generate initials if no image is provided. |
color | string | Background color when no image is provided ("primary" or "secondary"). |