A

Usage

import { Avatar } from '@loomhq/lens'
<Avatar letter="A"/>

Sizes

AA

With image

With letter

ABC

With children

With alternative text

If the avatar is not purely decorative, add an image text alternative for accessibility reasons.

Hayk AnanyanH

Props

name
type
default
altText
string
''
size
string | number
4
letter
string
imageSrc
string
children
React.ReactNode