This component no longer exists. It was in shadcn/ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-13 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
avatar
agileflow-projectquestorg/avatarRemovedComponent
shadcn/ui publishes no description for this item.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/projectquestorg/AgileFlow/main/apps/docs/public/r/styles/radix-nova/avatar.jsonSource
1"use client"23import * as React from "react"4import { Avatar as AvatarPrimitive } from "radix-ui"56import { cn } from "@/registry/bases/radix/lib/utils"78function Avatar({9 className,10 size = "default",11 ...props12}: React.ComponentProps<typeof AvatarPrimitive.Root> & {13 size?: "default" | "sm" | "lg"14}) {15 return (16 <AvatarPrimitive.Root17 data-slot="avatar"18 data-size={size}19 className={cn(20 "size-8 rounded-full after:rounded-full data-[size=lg]:size-10 data-[size=sm]:size-6 after:border-border group/avatar relative flex shrink-0 select-none after:absolute after:inset-0 after:border after:mix-blend-darken dark:after:mix-blend-lighten",21 className22 )}23 {...props}24 />25 )26}2728function AvatarImage({29 className,30 ...props31}: React.ComponentProps<typeof AvatarPrimitive.Image>) {32 return (33 <AvatarPrimitive.Image34 data-slot="avatar-image"35 className={cn(36 "rounded-full aspect-square size-full object-cover",37 className38 )}39 {...props}40 />41 )42}4344function AvatarFallback({45 className,46 ...props47}: React.ComponentProps<typeof AvatarPrimitive.Fallback>) {48 return (49 <AvatarPrimitive.Fallback50 data-slot="avatar-fallback"51 className={cn(52 "bg-muted text-muted-foreground rounded-full flex size-full items-center justify-center text-sm group-data-[size=sm]/avatar:text-xs",53 className54 )}55 {...props}56 />57 )58}5960function AvatarBadge({ className, ...props }: React.ComponentProps<"span">) {61 return (62 <span63 data-slot="avatar-badge"64 className={cn(65 "bg-primary text-primary-foreground ring-background absolute right-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-blend-color ring-2 select-none",66 "group-data-[size=sm]/avatar:size-2 group-data-[size=sm]/avatar:[&>svg]:hidden",67 "group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>svg]:size-2",68 "group-data-[size=lg]/avatar:size-3 group-data-[size=lg]/avatar:[&>svg]:size-2",69 className70 )}71 {...props}72 />73 )74}7576function AvatarGroup({ className, ...props }: React.ComponentProps<"div">) {77 return (78 <div79 data-slot="avatar-group"80 className={cn(81 "*:data-[slot=avatar]:ring-background group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2",82 className83 )}84 {...props}85 />86 )87}8889function AvatarGroupCount({90 className,91 ...props92// … truncated
