Avatar

An image element with a fallback for representing the user.

Basic

A basic avatar with an image and fallback initials.

User avatarAR

Alex Rivera

@alexrivera

Sizes

Avatars come in multiple sizes.

XS avatarXS

XS

SM avatarSM

SM

MD avatarMD

MD

LG avatarLG

LG

XL avatarXL

XL

XXL avatarXXL

XXL

Shapes

Avatars can be circular or square.

Circle avatarAR

Circle

Square avatarAR

Square

Fallback

When an image fails to load or is not provided, the fallback is displayed.

Broken imageJD

Broken URL

AB

No Image

MK

Square Fallback

Avatar Group

Avatars can be stacked to show a group of users.

User 1U1User 2U2User 3U3+3

With Status Badge

Avatars can include a status indicator.

Online userAR
Away userVC
Offline userGH
Open Markdown
FreeAvatar

User identity display with fallback initials.

Install with the Proa CLI
proa ui add avatar

Installs the reviewed component source, dependencies, shared support files, and required legal notices.

CLI and registry setup
recipe.rs
// SPDX-FileCopyrightText: 2026 Proa Labs, Inc.
// SPDX-License-Identifier: MIT OR Apache-2.0

//! Avatar recipe — typed root axes and named image/fallback slots.
//!
//! A nested fallback follows the root Avatar's `data-size` through a named
//! group. Its legacy local size still provides sensible standalone rendering,
//! while the root remains authoritative when the parts are composed.

use crate::tw_join;
use proa_core::shared::attr_value::AttrValue;
use proa_core::{DataLoader, WebContext, WriteBuf, WriteError};

mod base {
    use super::*;

    pub const ROOT: &str = tw_join!(
        "group/avatar",
        "relative",
        "flex",
        "shrink-0",
        "overflow-hidden"

Search

Type at least 2 characters

Customize

Make it yours

Palette

Radius

Overview
Components
Settings

Build your own

Themed Proa UI surface

Preview
Components52
RecipesTyped
customer-portal