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

prop
type
default
altText
string
''
size
oneOfType
string
number
4
letter
string
imageSrc
string
children
node