Preview the component on Storybook
npm i @umbraco-ui/uui-avatar
Import the registration of <uui-avatar>
via:
import '@umbraco-ui/uui-avatar';
When looking to leverage the UUIAvatarElement
base class as a type and/or for extension purposes, do so via:
import { UUIAvatarElement } from '@umbraco-ui/uui-avatar';
<uui-avatar title="First Last"></uui-avatar>
<uui-avatar img-src="..."></uui-avatar>