Avatar

Useful for presenting profile images and initials.

Modulz

Props

PropTypeDescription
childrenReactNodeThe content to render
altstringA text description of the image
srcstringThe URL of the image to use
variantgray | blackThe variant to apply
size0 | 1The size to apply

This component supports all common props.

Examples

Variants

There are 2 variants to choose from.

MM

Size

There are 2 sizes to choose from.

ModulzModulz