Avatar

Avatar

Profile image component with initials/icon fallback, live presence dots (online, busy, away, offline), and AvatarGroup stacking. Place identity seals beside the user display name using Badge.

Interactive Avatar

Circle, rounded, square, and sharp silhouettes with online, busy, away, and offline presence dots.

YN
AK
YN
RS
+2
Size
Shape
Status

Presence Status Dots

Attach online, busy, away, and offline presence indicators directly to Avatar.

ON
BS
AW
OF

Display Name + Badge Pattern

The recommended pattern: Avatar displays the face & presence dot, while Badge (Verified, Resident, Architect) sits beside the display name.

YN
Yuki Nagano
@yukinagano · Modular Synth
SM
Shinjuku Midnight
@shinjuku_live · Live Resident
KT
Kenji Takahashi
@kenjit · Sound Architect

Quick Import

Example.tsxtsx
1import { Avatar } from "@rekodo/react";
2
3export function Example() {
4 return <Avatar fallback="YN" size="lg" status="online" />;
5}

API Reference

Props accepted by this component.

PropTypeDefaultDescription
src / altstringundefinedImage URL and accessible alt text.
fallbackstringundefinedUp to 3 initials displayed when no image is loaded.
size"xs" | "sm" | "md" | "lg" | "xl""md"Avatar dimensions.
shape"circle" | "rounded" | "square" | "sharp""circle"Border radius silhouette. Always overrides default shape.
variant"default" | "stamp""default"Visual treatment: stamp adds dark photo-booth surface, bold initials, violet corner sheen, and image hover zoom.
status"online" | "offline" | "busy" | "away"undefinedPresence dot indicator positioned on the bottom-right corner.