Theme

Imagery & Iconography
npm_versionnpm Paragon package page

The Avatar component represents a user’s identity in the UI.

It is used in the global navigation’s user menu and may also be used to indicate ownership of user generated content such as a discussion post or open response submission.

Basic Usage

Any Paragon component or export may be added to the code example.

Huge

Any Paragon component or export may be added to the code example.

Theme Variables#

CSS VariableComputed Value










Props API#

Avatar Props API
  • alt string

    Alt text. Usually the user's name

    Default''
  • size enum'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'huge'

    Size of the avatar

    Default'md'
  • src string

    Image src of the avatar image

Usage Insights#

Avatar

Project NameParagon VersionInstance Count
frontend-app-admin-portal21.13.11
frontend-app-discussions22.7.05
frontend-component-header-edx21.13.12
frontend-component-header22.10.01
prospectus20.46.21