Avatar

The Avatar component provides a reusable pattern for avatar in the interface.

Image

Cookie Monster

Name

CM

Icon

API

Parameter Default Type Description
false ComponentLibrary\Integrations\Image\ImageInterface|string|boolean The profile image source.
[] array Attributes for the nested Icon component.
string The person's full name.
md string The avatar size.

CSS API

Variable Default Type Values Description
var(--base) range - Main unit that drives radius and spacing scales.
var(--color--secondary) color - Background color
var(--corner-shape) select square, round, squircle, circular, bevel, scoop Shape
var(--color--secondary-contrast) color - Icon & initials color

Similar components