SAV Design/User Avatar

User Avatar

Avatar from an optional image URL with first+last-name (or email) initials fallback; serializable props only.

App patternsregistry:component

Install

npx shadcn@latest add @sav/user-avatar

Needs "@sav": "https://design.sasv.ch/r/{name}.json" under registries in components.json. Direct URL: /r/user-avatar.json.

Preview

ALGHP

Files

  • registry/sav/components/user-avatar.tsx→ @components/user-avatar.tsx

Dependencies

Registry items

npm packages

—