Skip to content

Avatar

An avatar is an iconic image component. It can also be clicked to open a menu.

Properties

NoItemInput ValueDefault ValueAction PropertyTypeAction Default ValueDescription
1IDStringAuto-generatedidstringAuto-generatedThe [id] property cannot be set by action.
2WidthString40widthnumber/string40Component width
3HeightString40heightnumber/string40Component height
4XStringxnumber/stringX coordinate position
5YStringynumber/stringY coordinate position
6LockBooleanOFFlockbooleanfalseWhen ON, the component stays fixed even when the screen is scrolled.
When OFF, the component moves along with the screen scroll.
Added in v4.1.0.
7SizeSelection
1. Small
2. Medium
3. Large
4. None
NonesizestringnoneAvatar size setting
8StyleSelection
1. Circle
2. Rounded
3. Square
CirclevariantstringcircularAvatar shape
9ColorString
Color Picker
colorstringAvatar color
10BadgeBooleanOFFbadgebooleanfalseBadge display state
11Cache DisabledBooleanOFFcacheDisabledbooleanfalseCache usage state for avatar image
Added in v4.1.0.
12VisibilityBooleanONvisibilitybooleantrueComponent visibility state
13ValueStringvaluestringPath to file manager
14LetterStringletterstringCharacter displayed on avatar
15Click EventSelection
1. None
2. Menu
3. Detached Action
NoneclickEventClick behavior
Detached Action became selectable in v4.1.0.
16Detached ActionSelection
1. [Detached Action ID]
detachedActionstringSet a detached action
Added in v4.1.0.
17Menu ItemsTabular
[Detail 1]
[Detail 1]menuItemsobject array[Detail 1]Menu items setting

[Details 1] Menu Item

The default status is registered as follows. Register from the "ADD" button
To delete, select the check box and click the "DELETE" button

SelectIDICONLABELCLICK EVENTNEXT UIDetached ActionURLDIVIDER
CheckboxProfileAccountCircleProfileNoneNo
CheckboxMFA_SettingSettingsMFA SettingNextUiMFA Setting Step1No
CheckboxChange_PasswordLockResetChange passwordNextUiChange PasswordNo
CheckboxSign_OutLogoutSign outNextUiSign OutNo

“menuItems” is in the form of an array of objects.

[
{
"id": "Profile",
"icon": "AccountCircle",
"label": "Profile",
"clickEvent": "None",
"nextUi": "",
"url": "",
"divider": false
},
{
"id": "MFA_Setting",
"icon": "Settings",
"label": "MFA Setting",
"clickEvent": "NextUi",
"nextUi": "MFA_Setting_Step1_code",
"url": "",
"divider": false
},
{
"id": "Change_Password",
"icon": "LockReset",
"label": "Change Password",
"clickEvent": "NextUi",
"nextUi": "Change_Password_code",
"url": "",
"divider": false
},
{
"id": "Sign_Out",
"icon": "Logout",
"label": "Sign Out",
"clickEvent": "NextUi",
"nextUi": "Sign_Out_code",
"url": "",
"divider": false
}
]

Event

Event nameDescription
onclickPerforms an action when clicked.