Avatar
stableAn image element with a fallback for representing the user.
Basic usage
JDAB
Examples
Avatar group
Stack avatars with negative margin to form a compact group.
ALGHMHAT
Team stack with fallback
Show loaded images, initials fallbacks and delayed fallback states together.
Features
- Automatic and manual control over when the image renders.
- Fallback accepts an arbitrary node.
- Delays fallback to avoid flicker.
Installation
bash
pnpm dlx structyl add avatarAPI Reference
Avatar API reference
Full props, types, defaults, and all 4 parts.