Skip to content
Dumb UI

Search Dumb UI

Jump to a page or component, or switch the style

Search Dumb UI

Jump to a page or component, or switch the style

Avatar

A person or team image with fallback initials, presence status and grouped stacks.

DisplayRadix AvatarDumb extras
DK
Props
$ pnpm dlx shadcn@latest add @dumb/avatar

Needs the @dumb registry in components.json and the style tokens. See Installation.

import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"
<Avatar status="online">
  <AvatarImage src="/avatars/deepak.svg" alt="Deepak Kumar" />
  <AvatarFallback>DK</AvatarFallback>
</Avatar>

Group

AvatarGroup with max collapses the rest into +N.

DKRMLSAK+2
6 people on this project

API reference

Props marked “extra” are Dumb UI additions. Everything else matches shadcn/ui.

Avatar

PropTypeDefault
statusextra"online" | "away" | "busy" | "offline"

Presence dot, announced to screen readers.

-

AvatarGroup

PropTypeDefault
maxextranumber

Avatars beyond this collapse into a +N chip.

-