Avatar — a userpic container. Shows a supplied image, a seed-generated
placeholder figure, or initials, in that priority order.
Renders an <a-avatar> web component. Generation runs in avatar-core; pass a
generator config to cap the space to your brand (see the color and dimension
options on AvatarGenConfig). With no generator, a varied figure is drawn;
a config whose head and body shapes are both off renders initials instead.
Requires @antadesign/anta/elements to be imported (client-side only) to
register the underlying custom element.
Avatar — a userpic container. Shows a supplied image, a seed-generated placeholder figure, or initials, in that priority order.
Renders an
<a-avatar>web component. Generation runs inavatar-core; pass ageneratorconfig to cap the space to your brand (see the color and dimension options onAvatarGenConfig). With nogenerator, a varied figure is drawn; a config whose head and body shapes are bothoffrenders initials instead.Requires
@antadesign/anta/elementsto be imported (client-side only) to register the underlying custom element.