Zazz Design Framework
Components

Avatar

A circular image-with-fallback built from utility classes.

Avatars are pure composition with no dedicated class. Stack an image over a text fallback with grid grid-area-pile, clip to a circle with rounded-full overflow-clip, and size with size-*. The image sits on top; the fallback (initials on bg-muted / text-muted-foreground) shows when it fails to load. For an initials-only avatar, drop the <img> and keep just the <figcaption>.

Default

Loading components…

On this page