BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/vengenceui/avatar

avatar

vengenceui/avatar
FreeComponent

vengenceui publishes no description for this item.

Live preview

live · rendered by the registry
Rendered by vengenceui on their own page — this is the component running, not a screenshot of it.

Install it

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

Source

components/ui/avatar.tsxwww.vengenceui.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({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>) {
9 return (
10 <AvatarPrimitive.Root
11 data-slot="avatar"
12 className={cn('relative flex size-8 shrink-0 overflow-hidden rounded-full', className)}
13 {...props}
14 />
15 )
16}
17
18function AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>) {
19 return (
20 <AvatarPrimitive.Image
21 data-slot="avatar-image"
22 className={cn('aspect-square size-full', className)}
23 {...props}
24 />
25 )
26}
27
28function AvatarFallback({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>) {
29 return (
30 <AvatarPrimitive.Fallback
31 data-slot="avatar-fallback"
32 className={cn('bg-muted flex size-full items-center justify-center rounded-full', className)}
33 {...props}
34 />
35 )
36}
37
38export { Avatar, AvatarImage, AvatarFallback }

What it pulls in

npm packages

  • @radix-ui/react-avatar

Files it writes

  • public/r/avatar.json

Facts

Registry
vengenceui
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
First indexed
2026-08-02
Last confirmed
yesterday

Go to the source

Docs on vengenceui www.vengenceui.com Raw registry item This item as JSON

More from vengenceui

All 128 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
accordionaccordionvengenceuiComponentsFree2 deps
agent-bento-gridagent-bento-gridvengenceuiComponentsFree1 dep
alertalertvengenceuiComponentsFreeno deps
animated-buttonanimated-buttonvengenceuiComponentsFree1 dep
animated-footeranimated-footervengenceuiComponentsFree2 deps
animated-numberanimated-numbervengenceuiComponentsFree1 dep
animated-raysanimated-raysvengenceuiComponentsFreeno deps
animated-tooltipanimated-tooltipvengenceuiComponentsFree1 dep
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