Avatar component
Figma Component
Avatar component
Jane Cooper
jane@sema4.ai
Properties
| Name | Description | Default |
|---|---|---|
| disabled | Disables the interactive avatar | - |
| placeholder | Avatar placeholder | - |
| size | The size of the avatar | - |
| subtitle | Avatar subtitle | - |
| title | Avatar main title | - |
| variant | Avatar variant | - |
Note: This table does not include native DOM and React properties like `onClick`, `ref`, `id`, `aria-label` (and many others) supported by this component.
Type
Combination of `src`, `placeholder` and `variant` properties can be used to define a text initials or image based Avatar
Interactive
Avatar can be used as an interactive element by defining the `as` property