Avatar

A component that represents a user.

Contents:

  • Avatar

  • Avatar Group

MonalisaUI

View full example: Avatar Example

Avatar

Configuration

Property

Default

Option

Description

source

-

-

The image source (either a remote URL or a local file resource)

circle

false

boolean

Shapes the avatar to a circle

rounded

false

boolean

Renders avatar with slightly round shaped edges

style

-

-

Style for the avatar

isVisible

true

boolean

Display avatar background gray

width

50

number

Width of the avatar

height

50

number

Height of the avatar

value

-

string

Show value in avatar

Example

Avatar Group

Configuration

Property

Default

Option

Description

data

-

array

Array of avatar for component (required)

appearance

stack

stack, grid

Indicates the shape of the avatar

maxCount

0

number

The maximum number of avatars allowed in the grid

Example

  • stack

  • grid

  • max count

Last updated