Avatar

Display user identities with either text, photo, or an icon

import { Avatar } from "@plexui/ui/components/Avatar";

Examples

Overview

TW

Text

D

Image

T

Icon

Overflow count

Sizing

Colors & variants

Roundness

roundness
size
48
A

Interactive

Reference

PropTypeDefaultDescription
namestringDisplay name; used for text initial when no image/icon
imageUrlstringAbsolute URL for image avatar
IconReact.ComponentTypeIcon component for icon avatar
sizenumberWidth and height in pixels
colorstringSemantic color for text/icon avatar
variant"soft" | "solid"Style variant
overflowCountnumberShow overflow count (e.g. +9)
onClickfunctionMakes avatar interactive