internals
100xui/internalsFreeBlock
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.jsonSource
1"use client"23import * as React from "react"4import * as AvatarPrimitive from "@radix-ui/react-avatar"56import { cn } from "@/lib/utils"78function Avatar({9 className,10 ...props11}: React.ComponentProps<typeof AvatarPrimitive.Root>) {12 return (13 <AvatarPrimitive.Root14 data-slot="avatar"15 className={cn(16 "relative flex size-8 shrink-0 overflow-hidden rounded-full",17 className18 )}19 {...props}20 />21 )22}2324function AvatarImage({25 className,26 ...props27}: React.ComponentProps<typeof AvatarPrimitive.Image>) {28 return (29 <AvatarPrimitive.Image30 data-slot="avatar-image"31 className={cn("aspect-square size-full", className)}32 {...props}33 />34 )35}3637function AvatarFallback({38 className,39 ...props40}: React.ComponentProps<typeof AvatarPrimitive.Fallback>) {41 return (42 <AvatarPrimitive.Fallback43 data-slot="avatar-fallback"44 className={cn(45 "bg-muted flex size-full items-center justify-center rounded-full",46 className47 )}48 {...props}49 />50 )51}5253export { Avatar, AvatarImage, AvatarFallback }
Files it writes
More from 100xui
All 14 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Apple galleryapple-gallery | 100xui | Blocks | Free | 1 dep | |
| Chat bento cardchat-bento-card | 100xui | Blocks | Free | 1 dep | |
| demosdemos | 100xui | Blocks | Free | no deps · 12 files | |
| In-page navbarin-page-navbar | 100xui | Blocks | Free | 1 dep · 2 files | |
| iPhone 3D mockupiphone-3d-mockup | 100xui | Blocks | Free | no deps | |
| Menu wheelmenu-wheel | 100xui | Blocks | Free | 1 dep | |
| Morph modalmorph-modal | 100xui | Blocks | Free | 1 dep | |
| Motion Dockmotion-dock | 100xui | Blocks | Free | 1 dep · 3 files |
