AvatarGem API Reference
Prop reference
| Title | Type | Default | Description |
|---|---|---|---|
| content | ReactNode | โ | 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. |
| size | Size | medium | The size of the gem, can be 'small', 'medium', or 'large'. |
| disableBackground | boolean | โ | Whether to disable the background of the gem, useful for icons. |
| className | string | โ | 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.
Related APIs