BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/shipbase/ui/avatar

avatar

shipbase-ui/avatar
FreeComponent

shipbase/ui publishes no description for this item.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/shipbase/ui/next/apps/www/public/r/react/avatar.json

Source

./src/components/ui/avatar.tsxraw.githubusercontent.com/shipbase/ui/next/apps/www/public/r/react/avatar.json
1"use client"
2
3import * as React from "react"
4
5import { Avatar as AvatarPrimitive } from "@ark-ui/react/avatar"
6
7import { cn } from "@/lib/utils"
8
9const Avatar = React.forwardRef<
10 React.ElementRef<typeof AvatarPrimitive.Root>,
11 AvatarPrimitive.RootProps
12>(({ className, ...props }, ref) => (
13 <AvatarPrimitive.Root
14 ref={ref}
15 className={cn(
16 "relative flex size-8 shrink-0 overflow-hidden rounded-full",
17 className
18 )}
19 {...props}
20 />
21))
22Avatar.displayName = "Avatar"
23
24const AvatarContext = AvatarPrimitive.Context
25
26const AvatarFallback = React.forwardRef<
27 React.ElementRef<typeof AvatarPrimitive.Fallback>,
28 AvatarPrimitive.FallbackProps
29>(({ className, ...props }, ref) => (
30 <AvatarPrimitive.Fallback
31 ref={ref}
32 className={cn(
33 "flex size-full items-center justify-center rounded-[inherit] bg-secondary text-xs",
34 className
35 )}
36 {...props}
37 />
38))
39AvatarFallback.displayName = "AvatarFallback"
40
41const AvatarImage = React.forwardRef<
42 React.ElementRef<typeof AvatarPrimitive.Image>,
43 AvatarPrimitive.ImageProps
44>(({ className, ...props }, ref) => (
45 <AvatarPrimitive.Image
46 ref={ref}
47 className={cn("aspect-square size-full", className)}
48 {...props}
49 />
50))
51AvatarImage.displayName = "AvatarImage"
52
53export { Avatar, AvatarContext, AvatarFallback, AvatarImage }

What it pulls in

npm packages

  • @ark-ui/react

Files it writes

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

Facts

Registry
shipbase/ui
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-11
Last confirmed
today

Go to the source

ui.shipbase.xyz shipbase/ui on GitHub Raw registry item This item as JSON

More from shipbase/ui

All 32 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
accordionaccordionshipbase/uiComponentsFree2 deps
badgebadgeshipbase/uiComponentsFree2 deps
buttonbuttonshipbase/uiComponentsFree2 deps
cardcardshipbase/uiComponentsFree1 dep
checkboxcheckboxshipbase/uiComponentsFree2 deps
collapsiblecollapsibleshipbase/uiComponentsFree1 dep
comboboxcomboboxshipbase/uiComponentsFree2 deps
dialogdialogshipbase/uiComponentsFree2 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

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