Avatar — Fallback Chain
- from @astryx
- by Astryx
Demonstrates the avatar fallback chain: primary image, fallback image, initials, then default icon. Astryx replaced 6 demo media references with marked placeholders; put your own content there.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @astryx/example-avatar-fallback-chainRegistry dependencies0
The CLI adds no other registry items with this one.
