Avatar is an image that represents a user or organization.
@radix-ui/react-slot
@lucide/reactInstall the following dependencies:
The main wrapper for the avatar component. This component is based on the <div>
element and supports all of its props and adds:
Prop | Type | Default |
---|---|---|
variant | default ,outline | default |
size | xs , sm , md , lg , xl | xl |
radius | default , md , lg , xl ,none | default |