BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/shadcn/ui full calendar/avatar-group

Avatar Group

shadcn-ui-full-calendar/avatar-group
FreeComponent

A component to display a group of avatars.

Install it

npx shadcn@latest add https://calendar.jeraidi.dev/r/avatar-group.json

Source

src/components/ui/avatar-group.tsxcalendar.jeraidi.dev/r/avatar-group.json
1import * as React from "react";
2
3import { Avatar, AvatarFallback } from "@/components/ui/avatar";
4import { cn } from "@/lib/utils";
5
6type AvatarProps = React.ComponentProps<typeof Avatar>;
7
8interface AvatarGroupProps extends React.ComponentProps<"div"> {
9 children: React.ReactElement<AvatarProps>[];
10 max?: number;
11}
12
13const AvatarGroup = ({
14 children,
15 max,
16 className,
17 ...props
18}: AvatarGroupProps) => {
19 const totalAvatars = React.Children.count(children);
20 const displayedAvatars = React.Children.toArray(children)
21 .slice(0, max)
22 .reverse();
23 const remainingAvatars = max ? Math.max(totalAvatars - max, 1) : 0;
24
25 return (
26 <div
27 className={cn("flex items-center flex-row-reverse", className)}
28 {...props}
29 >
30 {remainingAvatars > 0 && (
31 <Avatar className="-ml-2 hover:z-10 relative ring-2 ring-background">
32 <AvatarFallback className="bg-muted-foreground text-white">
33 +{remainingAvatars}
34 </AvatarFallback>
35 </Avatar>
36 )}
37 {displayedAvatars.map((avatar, index) => {
38 if (!React.isValidElement(avatar)) return null;
39
40 return (
41 <div key={index} className="-ml-2 hover:z-10 relative">
42 {React.cloneElement(avatar as React.ReactElement<AvatarProps>, {
43 className: "ring-2 ring-background",
44 })}
45 </div>
46 );
47 })}
48 </div>
49 );
50};
51
52export { AvatarGroup };

What it pulls in

Other registry items

  • avatar

Files it writes

  • src/components/ui/avatar-group.tsx

Facts

Registry
shadcn/ui full calendar
Type
registry:component
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-12
Last confirmed
today

Go to the source

calendar.jeraidi.dev yassir-jeraidi/full-calendar on GitHub Raw registry item This item as JSON

More from shadcn/ui full calendar

All 6 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Buttons groupbutton-groupshadcn/ui full calendarComponentsFreeno deps
Date Time Pickerdate-time-pickershadcn/ui full calendarComponentsFreeno deps
Day Pickerday-pickershadcn/ui full calendarComponentsFree2 deps
Responsive modalresponsive-modalshadcn/ui full calendarComponentsFreeno deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex