Avatar
Use avatars to represent users or organizations.
- Alpha
- Not reviewed for accessibility
import {Avatar} from '@primer/react'
| Name | Type | Default | Description |
|---|---|---|---|
| alt | string | '' | Provide alt text when the avatar is used without a name next to it. |
| size | number | { narrow?: number; regular?: number; wide?: number; } | 20 | The size of the avatar in pixels. |
| square | boolean | false | If true, the avatar will be square instead of circular. |
| sx | SystemStyleObject |