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
6SizeSelection
1. Small
2. Medium
3. Large
4. None
NonesizestringnoneAvatar size setting
7StyleSelection
1. Circle
2. Rounded
3. Square
CirclevariantstringcircularAvatar shape
8ColorString
Color Picker
colorstringAvatar color
9BadgeBooleanOFFbadgebooleanfalseBadge display state
10VisibilityBooleanONvisibilitybooleantrueComponent visibility state
11ValueStringvaluestringPath to file manager
12LetterStringletterstringCharacter displayed on avatar
13Click EventSelection
1. None
2. Menu
NoneclickEventClick behavior
14Menu 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 UIURLDIVIDER
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.