Skip to content

feat: add reusable avatar component with image fallback and tooltip#353

Open
Harbduls wants to merge 9 commits intoSoroScan:mainfrom
Harbduls:feature/avatar-component
Open

feat: add reusable avatar component with image fallback and tooltip#353
Harbduls wants to merge 9 commits intoSoroScan:mainfrom
Harbduls:feature/avatar-component

Conversation

@Harbduls
Copy link
Copy Markdown
Contributor

closes #311

Summary

Implements a reusable Avatar component with support for image display, initials fallback, and size variants.

Features

  • Displays user image when URL is provided
  • Falls back to initials if image is missing or fails to load
  • Supports multiple sizes (sm, md, lg)
  • Applies default/dynamic background colors
  • Shows user name on hover via tooltip

Testing

  • Verified image rendering and fallback logic
  • Tested size variants and tooltip behavior
    Uploading Avatar.png…

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 26, 2026

@Harbduls Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build avatar component with initials fallback

2 participants