Group
flx/avatar-09FreeBlock
Overlapping AvatarGroup stack of members.
Install it
npx shadcn@latest add https://ui.flexnative.com/r/avatar-09.jsonSource
1import {2 Avatar,3 AvatarFallback,4 AvatarGroup,5 AvatarImage,6} from '@/components/ui/avatar'78const members = [9 {10 name: 'Sofia Rodrigues',11 initials: 'SR',12 src: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?q=80&w=200&auto=format&fit=crop',13 },14 {15 name: 'Liam Carter',16 initials: 'LC',17 src: 'https://images.unsplash.com/photo-1500648767791-00dcc994a43e?q=80&w=200&auto=format&fit=crop',18 },19 {20 name: 'Ana Moreira',21 initials: 'AM',22 src: 'https://images.unsplash.com/photo-1438761681033-6461ffad8d80?q=80&w=200&auto=format&fit=crop',23 },24]2526export function Avatar09() {27 return (28 <AvatarGroup>29 {members.map((member) => (30 <Avatar key={member.name}>31 <AvatarImage src={member.src} alt={member.name} />32 <AvatarFallback>{member.initials}</AvatarFallback>33 </Avatar>34 ))}35 </AvatarGroup>36 )37}
What it pulls in
Other registry items
Files it writes
More from flx
All 446 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Basicaccordion-01 | flx | Blocks | Free | no deps | |
| Multipleaccordion-02 | flx | Blocks | Free | no deps | |
| With iconsaccordion-03 | flx | Blocks | Free | no deps | |
| FAQaccordion-04 | flx | Blocks | Free | no deps | |
| Separated cardsaccordion-05 | flx | Blocks | Free | no deps | |
| Plus / minus iconaccordion-06 | flx | Blocks | Free | 1 dep | |
| Left chevronaccordion-07 | flx | Blocks | Free | 1 dep | |
| Rich contentaccordion-09 | flx | Blocks | Free | no deps |
