AvatarWithInitialsProps
AvatarWithInitialsProps =
object
Defined in: packages/ui/src/types.ts:1308
Props for the AvatarWithInitials component.
Avatar component with automatic initials fallback when no image is available.
Extracts initials from the name prop (e.g., “Daniel Schmidt” becomes “DS”).
Used by UserMenuProps for the user avatar display.
Properties
Section titled “Properties”name:
string
Defined in: packages/ui/src/types.ts:1312
Full name used to derive initials.
optionalsize:"sm"|"md"|"lg"
Defined in: packages/ui/src/types.ts:1314
Avatar size. Defaults to “md”.
optionalsrc:string|null
Defined in: packages/ui/src/types.ts:1310
Avatar image URL. Falls back to initials when null.