Skip to content
RivetUI

Avatar

Represents a person or entity with an image and resilient fallback content.

@rivetui/avatar

Preview

Explore each composition interactively, then open its code in the same context.

Default

Pair an image with initials so identity remains visible while the asset loads or fails.

Note
AvatarFallback is shown automatically when AvatarImage is unavailable.
AL

Ada Lovelace

platform / owner

Online

Sizes

Use the three semantic sizes to align avatars with compact controls, rows, or profile summaries.

ALGHMH

Group

Collapse a team into overlapping identities and summarize the remainder with AvatarGroupCount.

ALGHMH+4

Registry

Installation

Add the component source and its declared dependencies with the shadcn CLI.

Install component
bunx --bun shadcn@latest add @rivetui/avatar
Inspect registry item

Public interface

API reference

Component-specific props are listed here. Native element and Base UI props continue to pass through.

Avatar

PropTypeDefault
size"sm" | "md" | "lg""md"

AvatarFallback

PropTypeDefault
delaynumber0
Rivet UI / AvatarComponents engineered, not decorated.