Skip to main content
Version: Next

AvatarProps.purpose

Home > @backstage/ui > AvatarProps > purpose

Determines how the avatar is presented to assistive technologies. - 'informative': Avatar is announced as "{name}" to screen readers - 'decoration': Avatar is hidden from screen readers (use when name appears in adjacent text)

Signature:

purpose?: 'decoration' | 'informative';