Avatar
No consumersA person or workspace, as an image or initials.
fallback is required, not optional — an image can fail to load, and initials are better than a hole. Leave alt empty when the name is already beside the avatar, so a screen reader does not read it twice.
Default
Props
Avatar
| Prop | Type | Default | Description |
|---|---|---|---|
fallback | ReactNode | — | Required. Shown when there is no image. |
src | string | — | Image URL. |
alt | string | "" | Empty by default — correct when the name is already adjacent. |