Import
import { Avatar } from '@windmill/react-ui'
Size
There are three sizes, applied by the prop size: large, regular (default) and small.



live editor
Image
Pass an image to the avatar using the prop src.

live editor
Alternate text
Pass an alternate text to the avatar using the prop alt.

live editor
Props overview
| Prop | Description | Type | Default | 
|---|---|---|---|
| size | define the size of component | large,regular,small | regular | 
| src | requireddefine the src of the image | string | |
| alt | requiredalternate text of the image | string | 
Customizing
See Customization to learn how to change defaultTheme styles.