BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/attn-ui/avatar

avatar

attn-ui/avatar
FreeComponent

attn-ui publishes no description for this item.

Install it

npx shadcn@latest add https://attnui.com/r/avatar.json

Source

src/registry/ui/avatar.tsxattnui.com/r/avatar.json
1"use client";
2
3import * as React from "react";
4import * as AvatarPrimitive from "@radix-ui/react-avatar";
5
6import { cn } from "@/lib/utils";
7
8function Avatar({
9 className,
10 ...props
11}: React.ComponentProps<typeof AvatarPrimitive.Root>) {
12 return (
13 <AvatarPrimitive.Root
14 data-slot="avatar"
15 className={cn(
16 "relative flex size-8 shrink-0 overflow-hidden rounded-full",
17 className
18 )}
19 {...props}
20 />
21 );
22}
23
24function AvatarImage({
25 className,
26 ...props
27}: React.ComponentProps<typeof AvatarPrimitive.Image>) {
28 return (
29 <AvatarPrimitive.Image
30 data-slot="avatar-image"
31 className={cn("aspect-square size-full", className)}
32 {...props}
33 />
34 );
35}
36
37function AvatarFallback({
38 className,
39 ...props
40}: React.ComponentProps<typeof AvatarPrimitive.Fallback>) {
41 return (
42 <AvatarPrimitive.Fallback
43 data-slot="avatar-fallback"
44 className={cn(
45 "bg-muted flex size-full items-center justify-center rounded-full",
46 className
47 )}
48 {...props}
49 />
50 );
51}
52
53export { Avatar, AvatarImage, AvatarFallback };

What it pulls in

npm packages

  • @radix-ui/react-avatar

Files it writes

  • src/registry/ui/avatar.tsx

Facts

Registry
attn-ui
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-12
Last confirmed
yesterday

Go to the source

attnui.com thatbeautifuldream/ui on GitHub Raw registry item This item as JSON

More from attn-ui

All 6 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Animated Avatar Stackanimated-avatar-stackattn-uiComponentsFree2 deps · 2 files
buttonbuttonattn-uiComponentsFreeno deps
Nested Menu Drawernested-drawerattn-uiComponentsFree1 dep · 2 files
Timezone Clocktimezone-clockattn-uiComponentsFree1 dep · 2 files
tooltiptooltipattn-uiComponentsFree1 dep

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