BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/100xui/internals

internals

100xui/internals
FreeBlock

100xui publishes no description for this item.

Live preview

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

Install it

npx shadcn@latest add https://100xui.com/r/internals.json

Source

registry/100xui/shared/components/ui/avatar.tsx100xui.com/r/internals.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 }

Files it writes

  • lib/utils.ts
  • app/styles/neutral.css
  • registry/100xui/shared/components/ui/avatar.tsx
  • registry/100xui/shared/components/ui/button.tsx

Facts

Registry
100xui
Type
registry:block
Access
Free
Files written
4
Licence
the repository states none
First indexed
2026-08-01
Last confirmed
2 days ago

Go to the source

Docs on 100xui 100xui.com YashwantOstwal/100xUI on GitHub Raw registry item This item as JSON

More from 100xui

All 14 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Apple galleryapple-gallery100xuiBlocksFree1 dep
Chat bento cardchat-bento-card100xuiBlocksFree1 dep
demosdemos100xuiBlocksFreeno deps · 12 files
In-page navbarin-page-navbar100xuiBlocksFree1 dep · 2 files
iPhone 3D mockupiphone-3d-mockup100xuiBlocksFreeno deps
Menu wheelmenu-wheel100xuiBlocksFree1 dep
Morph modalmorph-modal100xuiBlocksFree1 dep
Motion Dockmotion-dock100xuiBlocksFree1 dep · 3 files
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