Lyse UI GitHub

Avatar

The Avatar component displays a user's profile picture, initials, or placeholder in a recognizable format. It helps personalize the interface and identify users across different parts of the application.

Add to v0.dev
Jane Doe
tsx

Default

Basic avatar with an image.

Jane Doe
John Smith
Alice Brown

Sizes

Five sizes: xs, sm, md (default), lg, and xl.

xs
sm
md
lg
xl

Initials

Displays 1-2 character initials when no image is available.

Placeholder

Shows a generic user icon when no src or initials are provided.

Status

Presence indicator at bottom-right. Use companySrc for a company logo badge.

Online
Offline
Busy

AvatarLabel

Pairs an avatar with a name and optional description.

Jane DoeProduct Designer
John SmithEngineering Manager
AB
Alice BrownHead of Design
Unknown User

AvatarGroup

Stacks avatars with overlap. Use max to limit visible count.

+2
Jane
John
+2
Jane
John
Alice
+1

AvatarAddButton

Circular button with a plus icon. Works standalone or inside AvatarGroup.