Skip to content

Latest commit

 

History

History

uui-avatar

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

uui-avatar

npm

See it in action

Preview the component on Storybook

Installation

ES imports

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';

Usage

<uui-avatar title="First Last"></uui-avatar>
<uui-avatar img-src="..."></uui-avatar>