BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/ondo-ui/avatar
This component no longer exists. It was in ondo-ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-09 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

ondo-ui/avatar
RemovedComponent

An image element with a fallback for representing the user.

Install it

npx shadcn@latest add https://ui.ondo.dou.so/r/avatar.json

Source

components/ui/avatar.tsxui.ondo.dou.so/r/avatar.json
1"use client"
2
3import * as React from "react"
4import { Avatar as AvatarPrimitive } from "@base-ui/react/avatar"
5
6import { cn } from "@/lib/utils"
7
8function Avatar({
9 className,
10 size = "default",
11 ...props
12}: AvatarPrimitive.Root.Props & {
13 size?: "default" | "sm" | "lg"
14}) {
15 return (
16 <AvatarPrimitive.Root
17 data-slot="avatar"
18 data-size={size}
19 className={cn(
20 "group/avatar relative flex size-8 shrink-0 rounded-full select-none after:absolute after:inset-0 after:rounded-full after:border after:border-border after:mix-blend-darken data-[size=lg]:size-10 data-[size=sm]:size-6 dark:after:mix-blend-lighten",
21 className
22 )}
23 {...props}
24 />
25 )
26}
27
28function AvatarImage({ className, ...props }: AvatarPrimitive.Image.Props) {
29 return (
30 <AvatarPrimitive.Image
31 data-slot="avatar-image"
32 className={cn(
33 "aspect-square size-full rounded-full object-cover",
34 className
35 )}
36 {...props}
37 />
38 )
39}
40
41function AvatarFallback({
42 className,
43 ...props
44}: AvatarPrimitive.Fallback.Props) {
45 return (
46 <AvatarPrimitive.Fallback
47 data-slot="avatar-fallback"
48 className={cn(
49 "flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",
50 className
51 )}
52 {...props}
53 />
54 )
55}
56
57function AvatarBadge({ className, ...props }: React.ComponentProps<"span">) {
58 return (
59 <span
60 data-slot="avatar-badge"
61 className={cn(
62 "absolute right-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-primary text-primary-foreground bg-blend-color ring-2 ring-background select-none",
63 "group-data-[size=sm]/avatar:size-2 group-data-[size=sm]/avatar:[&>svg]:hidden",
64 "group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>svg]:size-2",
65 "group-data-[size=lg]/avatar:size-3 group-data-[size=lg]/avatar:[&>svg]:size-2",
66 className
67 )}
68 {...props}
69 />
70 )
71}
72
73function AvatarGroup({ className, ...props }: React.ComponentProps<"div">) {
74 return (
75 <div
76 data-slot="avatar-group"
77 className={cn(
78 "group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2 *:data-[slot=avatar]:ring-background",
79 className
80 )}
81 {...props}
82 />
83 )
84}
85
86function AvatarGroupCount({
87 className,
88 ...props
89}: React.ComponentProps<"div">) {
90 return (
91 <div
92 data-slot="avatar-group-count"
93// … truncated

What it pulls in

npm packages

  • @base-ui/react

Other registry items

  • @ondo-ui/utils

Files it writes

  • components/ui/avatar.tsx

Facts

Registry
ondo-ui
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-04
Last confirmed
9 days ago

Go to the source

ui.ondo.dou.so douinc/ondo-ui on GitHub Raw registry item This item as JSON

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

KitGrade

SaaS starter kits, scored from measured facts

kitgrade.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 KitGrade

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 KitGrade

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 KitGrade

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