The Avatar allows you to display user avatars or profile images in a consistent and visually appealing manner.
Explore the available props for the Avatar component
| Prop | Type | Default | Description |
|---|---|---|---|
| src | string | - | Image src or link. |
| altText | string | - | Alternative text for Avatar. |
| name | string | - | Name of the profile or avatar. |
| style | string | - | Any CSS className to style the Avatar. |
| imageStyle | string | - | Any CSS className to style the image. |
| variant | number | "1" | Variant of the accordion |
| onClick | javascript Event | - | onClick event for the Avatar |
Explore the available props for the AvatarGroup component
| Prop | Type | Default | Description |
|---|---|---|---|
| children | node | - | Child components and content to be placed within it. |
| style | string | - | Any CSS className to style the Avatar. |