Skip to Content
Creation UI 15.0 is released 🎉

Avatar

Custom size avatar

Use size prop to set custom size of avatar in pixels.

10px

20px

30px

40px

50px

60px

100px

Component API

Avatar component props.

PropDefaultDescription
variantcircle
circle | rounded | square

The shape of the avatar.

src—
string | null

The source of the avatar image.

alt—
string

The alt text of the avatar.

badgenull
object

The badge of the avatar.

Last updated on