Ship-It Designv0.0.3
GitHub

Avatar

Each example below is a real component instance — flip the theme toggle to see how it adapts.

Default#

PK

Sizes#

Loading…

Status#

Loading…

Group#

Loading…

Props#

Props for Avatar
PropTypeDefaultDescription
namestring | undefined?Display name. Used to derive initials and a deterministic background color.
srcstring | undefinedImage source. Falls back to initials if loading fails.
sizeenummdPredefined size: xs (20) / sm (24) / md (32) / lg (40) / xl (56).
statusenumOptional presence indicator.
initialsstring | undefinedOverride the auto-generated initials (e.g., for non-Latin scripts).