๐ŸงจPre-releaseYou shouldn't use this library-1 min read

AvatarGem API Reference

Prop reference

TitleTypeDefaultDescription
contentReactNode
โ€“

Content to display inside the gem, can be an icon or text.

position*Position
โ€“

The position of the gem relative to the avatar, e.g. 'top-left', 'bottom-right', etc.

sizeSize
medium

The size of the gem, can be 'small', 'medium', or 'large'.

disableBackgroundboolean
โ€“

Whether to disable the background of the gem, useful for icons.

classNamestring
โ€“

Additional classNames for the gem element, will override default styles.

* Props marked with an asterisk are required.

CSS target reference

There are no corresponding CSS targets for this API.

Made by .