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 Blocks/avatar-14

Avatar Group with Max

shadcn-ui-blocks/avatar-14
FreeComponent

Group of avatars with maximum limit component

Install it

npx shadcn@latest add https://shadcnui-blocks.com/r/avatar-14.json

Source

src/components/customized/avatar/avatar-14.tsxshadcnui-blocks.com/r/avatar-14.json
1import { BadgeCheck, BadgeMinus, BadgeX } from "lucide-react";
2import { Avatar, AvatarFallback, AvatarImage } from "@/registry/ui/avatar";
3
4export default function AvatarBadge() {
5 return (
6 <div className="flex items-center gap-4">
7 <div className="relative">
8 <Avatar className="size-10">
9 <AvatarImage alt="@shadcn" src="https://github.com/shadcn.png" />
10 <AvatarFallback>CN</AvatarFallback>
11 </Avatar>
12 <div className="absolute -right-0.5 -bottom-0.5 flex size-3.5 items-center justify-center rounded-full bg-primary text-[10px] text-primary-foreground leading-none ring-2 ring-background">
13 3
14 </div>
15 </div>
16 <div className="relative">
17 <Avatar className="size-10">
18 <AvatarImage alt="@shadcn" src="https://github.com/shadcn.png" />
19 <AvatarFallback>CN</AvatarFallback>
20 </Avatar>
21 <BadgeCheck className="absolute -right-1 -bottom-1 size-4.5 rounded-full fill-blue-500 text-white" />
22 </div>
23 <div className="relative">
24 <Avatar className="size-10">
25 <AvatarImage alt="@shadcn" src="https://github.com/shadcn.png" />
26 <AvatarFallback>CN</AvatarFallback>
27 </Avatar>
28 <BadgeMinus className="absolute -right-1 -bottom-1 size-4.5 rounded-full fill-amber-500 text-white" />
29 </div>
30 <div className="relative">
31 <Avatar className="size-10">
32 <AvatarImage alt="@shadcn" src="https://github.com/shadcn.png" />
33 <AvatarFallback>CN</AvatarFallback>
34 </Avatar>
35 <BadgeX className="absolute -right-1 -bottom-1 size-4.5 rounded-full fill-red-500 text-white" />
36 </div>
37 </div>
38 );
39}

What it pulls in

npm packages

  • lucide-react

Other registry items

  • avatar

Files it writes

  • src/components/customized/avatar/avatar-14.tsx

Facts

Registry
Shadcn UI Blocks
Type
registry:component
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-02
Last confirmed
yesterday

Go to the source

shadcnui-blocks.com akash3444/shadcn-ui-blocks on GitHub Raw registry item This item as JSON

More from Shadcn UI Blocks

All 542 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Default Accordionaccordion-01Shadcn UI BlocksComponentsFreeno deps
Outline Accordionaccordion-02Shadcn UI BlocksComponentsFreeno deps
Box Accordionaccordion-03Shadcn UI BlocksComponentsFreeno deps
Contained Accordionaccordion-04Shadcn UI BlocksComponentsFreeno deps
Box Contained Accordionaccordion-05Shadcn UI BlocksComponentsFreeno deps
Tabs Accordionaccordion-06Shadcn UI BlocksComponentsFreeno deps
Highlight Active Item Accordionaccordion-07Shadcn UI BlocksComponentsFreeno deps
Multiple Expanded at a time Accordionaccordion-08Shadcn UI BlocksComponentsFreeno deps
BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex