search ESC

Avatars

User representation with images, initials, or icons. Supports sizes, colors, status indicators, rings, and grouping.

Image Sizes

Six sizes from .lp-avatar--xs (24px) to .lp-avatar--2xl (80px).

XS
SM
Default
LG
XL
2XL
Initials with Colors

Use text initials with .lp-avatar--{color} background colors.

AB
CD
EF
GH
IJ
KL
MN
OP
Icon Avatars
person
check
close
support_agent
star
Square Avatars

Add .lp-avatar--square for rounded-rectangle shape.

Square
LP
group
Avatar Ring / Border

Add .lp-avatar-ring or .lp-avatar-ring--{color} for a colored ring border.

Ring
Primary Ring
Success Ring
Danger Ring
Warning Ring
Info Ring
Dark Ring
Light Ring
Status Indicators

Add a .lp-avatar-status element inside for online/away/busy/offline indicators.

Online
Away
Busy
Offline
Status Positions

Position variants: --top-left, --top-right, --bottom-left, --bottom-right (default).

Top Left
Top Right
Bottom Left
Bottom Right
Sizes with Status
A
B
CD
LG
XL
2XL
Avatar Group - Stacked

Overlapping avatars with .lp-avatar-group--stacked. Hover to lift.

User 1
User 2
User 3
User 4
User 5
+12
Status — Contextual Colors

Besides the 4 semantic states (online/away/busy/offline), status dots also accept all 8 color variants: .lp-avatar-status--primary, --success, etc.

Primary
Secondary
Success
Danger
Warning
Info
Dark
Light
Square Avatars with Status

Status indicators work the same on square avatars.

Online
Away
AB
check
Avatar Group - Stacked with Status

Stacked group where each avatar shows an active/away/busy state.

U1
U2
U3
U4
U5
Avatar Group - Stacked Sizes

Stacked groups can match avatar sizes with .lp-avatar-group--xs, --sm, default, --lg, --xl. The overlap adjusts accordingly.

Extra Small

U
U
U
+4

Small

U
U
U
+6

Default (md)

U
U
U
+12

Large

U
U
U
+8
Avatar Group - Vertical

Vertical layout with .lp-avatar-group--vertical. All avatars stack straight down the column, aligned to the same starting point.

User 1
User 2
User 3
User 4
JD
AB
CD
Avatar Group - Grid

Grid layout with .lp-avatar-group--grid.

AB
CD
EF
GH
IJ
KL
"+N" Counter Colors

The .lp-avatar-more counter accepts all 8 color variants.

+3
+5
+12
+2
+9
+7
+20
CSS Reference
ClassDescription
.lp-avatarBase avatar (40px, circular)
.lp-avatar--xsExtra small (24px)
.lp-avatar--smSmall (32px)
.lp-avatar--lgLarge (48px)
.lp-avatar--xlExtra large (64px)
.lp-avatar--2xl2X large (80px)
.lp-avatar--{color}Background color for initials/icons
.lp-avatar--squareRounded rectangle instead of circle
.lp-avatar-ringDefault ring border (primary)
.lp-avatar-ring--{color}Colored ring border variant
.lp-avatar-statusStatus dot indicator (base)
.lp-avatar-status--onlineGreen online status
.lp-avatar-status--awayYellow away status
.lp-avatar-status--busyRed busy status
.lp-avatar-status--offlineGrey offline status
.lp-avatar-status--{color}Contextual color status (8 colors)
.lp-avatar-status--{position}Position: top-left, top-right, bottom-left, bottom-right
.lp-avatar-group--stackedOverlapping avatar group
.lp-avatar-group--{xs|sm|lg|xl}Group size modifier (tunes overlap + grid cell size)
.lp-avatar-group--verticalVertical avatar list
.lp-avatar-group--gridGrid layout avatar group
.lp-avatar-more"+N" counter in avatar group
.lp-avatar-more--{xs|sm|lg|xl|2xl}Counter size modifier
.lp-avatar-more--{color}Counter color variant (8 colors)