Avatar
A person or a project, with initials when the image is missing — and one radius, always.
Avatar shows an image and falls back to initials derived from name — while
the image loads and if it never arrives. There is one radius in the system, so
an avatar is never a different shape from the card it sits in.
Usage
Sizes
20, 24, 32, 40 and 48px — the same rhythm the controls are on, so an avatar lines up with a button beside it.
Custom fallback
fallback replaces the initials — an icon for a service account, a glyph for a
project.
Groups
Avatar.Group overlaps a stack and collapses everything past max into a
+N chip — the "who is on this project" row.
Properties
Avatar
Used to derive the initials when no explicit fallback is given.
The image URL.
Alternative text for the image.
Shown while the image loads and if it fails. It defaults to the initials of
name.
20, 24, 32, 40 or 48px. It defaults to base.
Merged into the root — a ring, a different radius.
Avatar.Group
Beyond this many, the rest collapse into a +N chip.
The avatars, newest first.