Avatar

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

Image

Cookie Monster

Name

CM

Icon

API

Parameter Default Description
false A url to a profile image or an ImageInterface.
[] Attributes for @icon component (separate reference).
Persons full name
md sm,md,lg,full

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