Avatar Group is used to represent a group of users or a brand. They are used in the header, sidebar, and in the chat.
import AvatarGroup from "@radui/ui/AvatarGroup"Import all parts of the component and piece them together.
The root component for the AvatarGroup.
| Prop | Type | Default |
|---|---|---|
customRootClass | string | — |
className | string | — |
size | string | — |
variant | string | — |
children | React.ReactNode | — |
asChild | boolean | false |
The item component for the AvatarGroup.
| Prop | Type | Default |
|---|---|---|
color | string | — |
children | React.ReactNode | — |
className | string | — |
asChild | boolean | false |
The avatar component for the AvatarGroup.
| Prop | Type | Default |
|---|---|---|
src | string | — |
alt | string | — |
asChild | boolean | false |
The fallback component for the AvatarGroup.
| Prop | Type | Default |
|---|---|---|
children | React.ReactNode | — |
className | string | — |
asChild | boolean | false |