---
title: "Avatar"
slug: avatar
category: component
type: technical-information
version: 20.0.0
tokens: 178
source: https://ovh.github.io/design-system/v20.0.0/llms/react-components-avatar--technical-information.txt
---
# Avatar
## Avatar
This component extends all the native `
` attributes.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
| `fallback` | `ReactNode` | No | undefined | Fallback content to display when the image fails to load. Defaults to a user icon. |
| `src` | `string` | No | undefined | The image source URL. |
## CSS Variables
| Variable | Default value |
|---|---|
| `--ods-avatar-background-color` | `var(--ods-semantic-color-surface-muted)` |
| `--ods-avatar-text-color` | `var(--ods-semantic-color-content-heading)` |
| `--ods-avatar-border-radius` | `var(--ods-semantic-size-radius-full)` |
| `--ods-avatar-size` | `24px` |
| `--ods-avatar-object-fit` | `cover` |