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.
avatar-playground.tsx
YN
AK
YN
RS
+2
Size
Shape
Status
Presence Status Dots
Attach online, busy, away, and offline presence indicators directly to Avatar.
presence-avatars.tsx
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.
user-profile-header.tsx
YN
Yuki Nagano
@yukinagano · Modular SynthSM
Shinjuku Midnight
@shinjuku_live · Live ResidentKT
Kenji Takahashi
@kenjit · Sound ArchitectQuick 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.
| Prop | Type | Default | Description |
|---|---|---|---|
| src / alt | string | undefined | Image URL and accessible alt text. |
| fallback | string | undefined | Up 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" | undefined | Presence dot indicator positioned on the bottom-right corner. |