nuxt / nuxt/ui

Add a fallback slot to the Avatar Group component and improve handling of large numbers

Open
#6,364 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.