Skip to content
anidivr edited this page Jan 10, 2023 · 1 revision

Avatar image or initials displayed in circle

image

Code

Inputs

Name Type Default Description
radius number 0.06 Radius of circle shape
url string blank Optional. Texture URL of Avatar image
initials string blank Optional. Avatar initials to show in circle
iconcolor string #505050 Theme button color. Color of circle when showing initials

Outputs

None

Examples

<flat-ui-avatar [radius]="0.1" [initials]="'AN'" [iconcolor]="'orange'"  [position]="[0.1, 0.5, 0]">
</flat-ui-avatar>

<flat-ui-avatar [radius]="0.1" [url]="'assets/screenshots/dicebear.png'" [position]="[-0.1, 0.5, 0]">
</flat-ui-avatar>
Clone this wiki locally