APSRPS
- Add the registry
- Add avatar
Usage
The fallback shows while the image loads, and stays if it fails.
Composition
Examples
Initials
size sets the avatar's size.
APAPAP
With a badge
AvatarBadge marks a corner of the avatar, such as for someone's presence. Pass a background
class to change its color. The badge is only visual, so say what it means in nearby text or the
image's alt.
SRSRSRPSJK
Stack
AvatarGroup overlaps its avatars, and AvatarGroupCount shows how many more there are.
APSRPS
+4
APSRPS
+4
APSRPS
+4
With a name
When the name is shown beside the avatar, give the image an empty alt.
AP
Ada Parkada@example.com
Props
The tables leave out className, style and render. Parts built on Base UI take them as its styling and composition guides describe.