SkeletonAvatar
SkeletonAvatars are placeholders for loading Avatars. They support the same variants as the Avatar component.
Page navigation navigation
React
experimental
Figma
React examples
Default
Custom size
Square variant
Props
SkeletonAvatar
| Name | Default | Description |
|---|---|---|
size | 20 | number | { narrow?: number; regular?: number; wide?: number; }The size of the avatar in pixels. |
square | false | booleanIf true, the avatar will be square instead of circular. |
className | stringClass name for custom styling. |