chrome:shell.skip

generated:catalog.entry.avatar.title

generated:catalog.entry.avatar.description

@xngui/components/avatar
@xngui/components/avatar

chrome:demo.section

chrome:demo.preview

Ada Lovelace
demo-preview:hints.category.assistive:
TipSR
demo-preview:projection.slots-label:
ng-content [xStatus]
import { Component } from '@angular/core';
import { XAvatar } from '@xngui/components/avatar';
 
@Component({
selector: 'app-example',
imports: [XAvatar],
templateUrl: './avatar.component.html',
})
export class ExampleComponent {}

chrome:demo.events.title

chrome:demo.events.empty

chrome:demo.api.title

x-avatar

chrome:demo.api.col.property
chrome:demo.api.col.type
chrome:demo.api.col.default
chrome:demo.api.col.description
src
string
—
Image URL — falls back to initials or default slot when load fails.
alt
string
''
Accessible description of the image.
initials
string
—
Fallback initials when `src` is unset or fails to load.
size
XSize
—
Visual size tier — falls back to XConfigService when unset.
shape
XAvatarShape
'circle'
Avatar silhouette — circle or square.