Add a fallback slot to the Avatar Group component and improve handling of large numbers
Open
Nobody has claimed this yet.
triage
- Dominant language
- TypeScript
- Stars
- 6.9k
- Forks
- 1.1k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 57
Description
Package
v4.x
Description
Currently you cannot theme the text in the fallback slot of the avatar group. That would be useful when you have a large number (+10, +100). It would be also useful not to truncate (what is the point to show +22...), but have an alternate design that shows cleanly a +xxxx number after the group of avatar.
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Avatar Group component and reviewing how its fallback slot renders and how large counts are currently truncated. The work is done when the fallback text can be themed and large avatar counts display cleanly without the unwanted truncation described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100