-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create AvatarGroup
Component
#5910
Labels
website redesign
Issue/PR part of the Node.js Website Redesign
Comments
bmuenzenmeyer
added
the
website redesign
Issue/PR part of the Node.js Website Redesign
label
Sep 29, 2023
Can I work on this ? |
you bet! |
5 tasks
@ovflowd if this issue still open I would like to work on this. can u please assign this to me |
If you look with attention, you'll see this issue state is "In Review" and there's already an open PR. |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create an
AvatarGroup
component using the new figma design (direct link).This component is a group of multiple
Avatars
, with optional display of overflow.Before You Start...
Details
❓ Not sure where to start breaking down the figma? Read this short guide
AvatarGroup
within theCommon
directory that contains all the new code.Avatar
usesNeutral/100
in light mode per the figma.@radix-ui/avatar
, for the basicAvatar
functionality. Follow the the dependency guidelimit
Avatars
are provided, an overflowAvatar
displaying+N
should render, whereN
is the length of the avatar collection minuslimit
. Make sure the math is correct before, at, and past the limit.components/Common/AvatarGroup/index.stories.tsx
which exercises each of the component's states.Suggested props include:
limit
(integer, default 10): dictates totalAvatars
to renderavatars
(object[]): that follows this general shape:There are 6 states to capture within styles and stories:
The text was updated successfully, but these errors were encountered: