repo
stringlengths
7
64
file_url
stringlengths
81
338
file_path
stringlengths
5
257
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:25:31
2026-01-05 01:50:38
truncated
bool
2 classes
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/drawer.tsx
apps/v4/registry/bases/radix/ui/drawer.tsx
"use client" import * as React from "react" import { Drawer as DrawerPrimitive } from "vaul" import { cn } from "@/registry/bases/radix/lib/utils" function Drawer({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>) { return <DrawerPrimitive.Root data-slot="drawer" {...props} /> } function DrawerTri...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/toggle.tsx
apps/v4/registry/bases/radix/ui/toggle.tsx
"use client" import * as React from "react" import { cva, type VariantProps } from "class-variance-authority" import { Toggle as TogglePrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" const toggleVariants = cva( "cn-toggle group/toggle hover:bg-muted inline-flex items-center justif...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/tabs.tsx
apps/v4/registry/bases/radix/ui/tabs.tsx
"use client" import * as React from "react" import { cva, type VariantProps } from "class-variance-authority" import { Tabs as TabsPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" function Tabs({ className, orientation = "horizontal", ...props }: React.ComponentProps<typeof Tab...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/native-select.tsx
apps/v4/registry/bases/radix/ui/native-select.tsx
import * as React from "react" import { cn } from "@/registry/bases/radix/lib/utils" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" type NativeSelectProps = Omit<React.ComponentProps<"select">, "size"> & { size?: "sm" | "default" } function NativeSelect({ className, size = "defaul...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/button.tsx
apps/v4/registry/bases/radix/ui/button.tsx
import * as React from "react" import { cva, type VariantProps } from "class-variance-authority" import { Slot } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" const buttonVariants = cva( "cn-button inline-flex items-center justify-center whitespace-nowrap transition-all disabled:pointer-eve...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/sidebar.tsx
apps/v4/registry/bases/radix/ui/sidebar.tsx
"use client" import * as React from "react" import { cva, type VariantProps } from "class-variance-authority" import { Slot } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" import { Button } from "@/registry/bases/radix/ui/button" import { Input } from "@/registry/bases/radix/ui/input" import {...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/item.tsx
apps/v4/registry/bases/radix/ui/item.tsx
import * as React from "react" import { cva, type VariantProps } from "class-variance-authority" import { Slot } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" import { Separator } from "@/registry/bases/radix/ui/separator" function ItemGroup({ className, ...props }: React.ComponentProps<"div">...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/popover.tsx
apps/v4/registry/bases/radix/ui/popover.tsx
"use client" import * as React from "react" import { Popover as PopoverPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>) { return <PopoverPrimitive.Root data-slot="popover" {...props} /> } function...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/textarea.tsx
apps/v4/registry/bases/radix/ui/textarea.tsx
import * as React from "react" import { cn } from "@/registry/bases/radix/lib/utils" function Textarea({ className, ...props }: React.ComponentProps<"textarea">) { return ( <textarea data-slot="textarea" className={cn( "cn-textarea placeholder:text-muted-foreground flex field-sizing-content ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/resizable.tsx
apps/v4/registry/bases/radix/ui/resizable.tsx
"use client" import * as React from "react" import * as ResizablePrimitive from "react-resizable-panels" import { cn } from "@/registry/bases/radix/lib/utils" function ResizablePanelGroup({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) { return ( <ResizablePrimitive.Pan...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/accordion.tsx
apps/v4/registry/bases/radix/ui/accordion.tsx
"use client" import * as React from "react" import { Accordion as AccordionPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" function Accordion({ className, ...props }: React.ComponentProps<typeof Accordi...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/dropdown-menu.tsx
apps/v4/registry/bases/radix/ui/dropdown-menu.tsx
"use client" import * as React from "react" import { DropdownMenu as DropdownMenuPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMen...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/switch.tsx
apps/v4/registry/bases/radix/ui/switch.tsx
"use client" import * as React from "react" import { Switch as SwitchPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" function Switch({ className, size = "default", ...props }: React.ComponentProps<typeof SwitchPrimitive.Root> & { size?: "sm" | "default" }) { return ( <...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/field.tsx
apps/v4/registry/bases/radix/ui/field.tsx
"use client" import { useMemo } from "react" import { cva, type VariantProps } from "class-variance-authority" import { cn } from "@/registry/bases/radix/lib/utils" import { Label } from "@/registry/bases/radix/ui/label" import { Separator } from "@/registry/bases/radix/ui/separator" function FieldSet({ className, ....
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/slider.tsx
apps/v4/registry/bases/radix/ui/slider.tsx
"use client" import * as React from "react" import { Slider as SliderPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" function Slider({ className, defaultValue, value, min = 0, max = 100, ...props }: React.ComponentProps<typeof SliderPrimitive.Root>) { const _values = R...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/carousel.tsx
apps/v4/registry/bases/radix/ui/carousel.tsx
"use client" import * as React from "react" import useEmblaCarousel, { type UseEmblaCarouselType, } from "embla-carousel-react" import { cn } from "@/registry/bases/radix/lib/utils" import { Button } from "@/registry/bases/radix/ui/button" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/separator.tsx
apps/v4/registry/bases/radix/ui/separator.tsx
"use client" import * as React from "react" import { Separator as SeparatorPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" function Separator({ className, orientation = "horizontal", decorative = true, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root>) { ret...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/_registry.ts
apps/v4/registry/bases/radix/ui/_registry.ts
import { type Registry } from "shadcn/schema" export const ui: Registry["items"] = [ { name: "accordion", type: "registry:ui", files: [ { path: "ui/accordion.tsx", type: "registry:ui", }, ], }, { name: "alert", type: "registry:ui", files: [ { ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/sheet.tsx
apps/v4/registry/bases/radix/ui/sheet.tsx
"use client" import * as React from "react" import { Dialog as SheetPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" import { Button } from "@/registry/bases/radix/ui/button" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" function Sheet({ ...props }: Rea...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/scroll-area.tsx
apps/v4/registry/bases/radix/ui/scroll-area.tsx
"use client" import * as React from "react" import { ScrollArea as ScrollAreaPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>) { return ( <ScrollAreaPrimitive.Root...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/kbd.tsx
apps/v4/registry/bases/radix/ui/kbd.tsx
import { cn } from "@/registry/bases/radix/lib/utils" function Kbd({ className, ...props }: React.ComponentProps<"kbd">) { return ( <kbd data-slot="kbd" className={cn( "cn-kbd pointer-events-none inline-flex items-center justify-center select-none", className )} {...props}...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/card.tsx
apps/v4/registry/bases/radix/ui/card.tsx
import * as React from "react" import { cn } from "@/registry/bases/radix/lib/utils" function Card({ className, size = "default", ...props }: React.ComponentProps<"div"> & { size?: "default" | "sm" }) { return ( <div data-slot="card" data-size={size} className={cn("cn-card group/card fle...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/hover-card.tsx
apps/v4/registry/bases/radix/ui/hover-card.tsx
"use client" import * as React from "react" import { HoverCard as HoverCardPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" function HoverCard({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Root>) { return <HoverCardPrimitive.Root data-slot="hover-card" {...props} /...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/alert.tsx
apps/v4/registry/bases/radix/ui/alert.tsx
import * as React from "react" import { cva, type VariantProps } from "class-variance-authority" import { cn } from "@/registry/bases/radix/lib/utils" const alertVariants = cva("cn-alert w-full relative group/alert", { variants: { variant: { default: "cn-alert-variant-default", destructive: "cn-aler...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/toggle-group.tsx
apps/v4/registry/bases/radix/ui/toggle-group.tsx
"use client" import * as React from "react" import { type VariantProps } from "class-variance-authority" import { ToggleGroup as ToggleGroupPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" import { toggleVariants } from "@/registry/bases/radix/ui/toggle" const ToggleGroupContext = Re...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/badge.tsx
apps/v4/registry/bases/radix/ui/badge.tsx
import * as React from "react" import { cva, type VariantProps } from "class-variance-authority" import { Slot } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" const badgeVariants = cva( "cn-badge inline-flex items-center justify-center w-fit whitespace-nowrap shrink-0 [&>svg]:pointer-events-...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/skeleton.tsx
apps/v4/registry/bases/radix/ui/skeleton.tsx
import { cn } from "@/registry/bases/radix/lib/utils" function Skeleton({ className, ...props }: React.ComponentProps<"div">) { return ( <div data-slot="skeleton" className={cn("cn-skeleton animate-pulse", className)} {...props} /> ) } export { Skeleton }
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/button-group.tsx
apps/v4/registry/bases/radix/ui/button-group.tsx
import { cva, type VariantProps } from "class-variance-authority" import { Slot } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" import { Separator } from "@/registry/bases/radix/ui/separator" const buttonGroupVariants = cva( "cn-button-group flex w-fit items-stretch [&>*]:focus-visible:z-10 ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/tooltip.tsx
apps/v4/registry/bases/radix/ui/tooltip.tsx
"use client" import * as React from "react" import { Tooltip as TooltipPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" function TooltipProvider({ delayDuration = 0, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>) { return ( <TooltipPrimitive.Provider ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/radio-group.tsx
apps/v4/registry/bases/radix/ui/radio-group.tsx
"use client" import * as React from "react" import { RadioGroup as RadioGroupPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" function RadioGroup({ className, ...props }: React.ComponentProps<typeof Radi...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/chart.tsx
apps/v4/registry/bases/radix/ui/chart.tsx
"use client" import * as React from "react" import * as RechartsPrimitive from "recharts" import { cn } from "@/registry/bases/radix/lib/utils" // Format: { THEME_NAME: CSS_SELECTOR } const THEMES = { light: "", dark: ".dark" } as const export type ChartConfig = { [k in string]: { label?: React.ReactNode ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/select.tsx
apps/v4/registry/bases/radix/ui/select.tsx
"use client" import * as React from "react" import { Select as SelectPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>) { re...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/pagination.tsx
apps/v4/registry/bases/radix/ui/pagination.tsx
import * as React from "react" import { cn } from "@/registry/bases/radix/lib/utils" import { Button } from "@/registry/bases/radix/ui/button" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" function Pagination({ className, ...props }: React.ComponentProps<"nav">) { return ( <nav ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/empty.tsx
apps/v4/registry/bases/radix/ui/empty.tsx
import { cva, type VariantProps } from "class-variance-authority" import { cn } from "@/registry/bases/radix/lib/utils" function Empty({ className, ...props }: React.ComponentProps<"div">) { return ( <div data-slot="empty" className={cn( "cn-empty flex w-full min-w-0 flex-1 flex-col items-ce...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/alert-dialog.tsx
apps/v4/registry/bases/radix/ui/alert-dialog.tsx
"use client" import * as React from "react" import { AlertDialog as AlertDialogPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" import { Button } from "@/registry/bases/radix/ui/button" function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>) { r...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/command.tsx
apps/v4/registry/bases/radix/ui/command.tsx
"use client" import * as React from "react" import { Command as CommandPrimitive } from "cmdk" import { cn } from "@/registry/bases/radix/lib/utils" import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, } from "@/registry/bases/radix/ui/dialog" import { InputGroup, InputGroupAddo...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/input-otp.tsx
apps/v4/registry/bases/radix/ui/input-otp.tsx
"use client" import * as React from "react" import { OTPInput, OTPInputContext } from "input-otp" import { cn } from "@/registry/bases/radix/lib/utils" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" function InputOTP({ className, containerClassName, ...props }: React.ComponentProp...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/input.tsx
apps/v4/registry/bases/radix/ui/input.tsx
import * as React from "react" import { cn } from "@/registry/bases/radix/lib/utils" function Input({ className, type, ...props }: React.ComponentProps<"input">) { return ( <input type={type} data-slot="input" className={cn( "cn-input file:text-foreground placeholder:text-muted-foregro...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/combobox.tsx
apps/v4/registry/bases/radix/ui/combobox.tsx
"use client" import * as React from "react" import { Combobox as ComboboxPrimitive } from "@base-ui/react" import { cn } from "@/registry/bases/radix/lib/utils" import { Button } from "@/registry/bases/radix/ui/button" import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, } from "@/registry...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/checkbox.tsx
apps/v4/registry/bases/radix/ui/checkbox.tsx
"use client" import * as React from "react" import { Checkbox as CheckboxPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" function Checkbox({ className, ...props }: React.ComponentProps<typeof CheckboxPr...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/input-group.tsx
apps/v4/registry/bases/radix/ui/input-group.tsx
"use client" import * as React from "react" import { cva, type VariantProps } from "class-variance-authority" import { cn } from "@/registry/bases/radix/lib/utils" import { Button } from "@/registry/bases/radix/ui/button" import { Input } from "@/registry/bases/radix/ui/input" import { Textarea } from "@/registry/bas...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/context-menu.tsx
apps/v4/registry/bases/radix/ui/context-menu.tsx
"use client" import * as React from "react" import { ContextMenu as ContextMenuPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" function ContextMenu({ ...props }: React.ComponentProps<typeof ContextMenuPri...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/radix/ui/calendar.tsx
apps/v4/registry/bases/radix/ui/calendar.tsx
"use client" import * as React from "react" import { DayPicker, getDefaultClassNames, type DayButton, } from "react-day-picker" import { cn } from "@/registry/bases/radix/lib/utils" import { Button, buttonVariants } from "@/registry/bases/radix/ui/button" import { IconPlaceholder } from "@/app/(create)/componen...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/registry.ts
apps/v4/registry/bases/base/registry.ts
import { registryItemSchema, type Registry } from "shadcn/schema" import { z } from "zod" import { fonts } from "@/registry/fonts" import { blocks } from "./blocks/_registry" import { components } from "./components/_registry" import { examples } from "./examples/_registry" import { hooks } from "./hooks/_registry" i...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/hooks/_registry.ts
apps/v4/registry/bases/base/hooks/_registry.ts
import { type Registry } from "shadcn/schema" export const hooks: Registry["items"] = [ { name: "use-mobile", type: "registry:hook", files: [ { path: "hooks/use-mobile.ts", type: "registry:hook", }, ], }, ]
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/hooks/use-mobile.ts
apps/v4/registry/bases/base/hooks/use-mobile.ts
import * as React from "react" const MOBILE_BREAKPOINT = 768 export function useIsMobile() { const [isMobile, setIsMobile] = React.useState<boolean | undefined>(undefined) React.useEffect(() => { const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`) const onChange = () => { setIs...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/blocks/preview.tsx
apps/v4/registry/bases/base/blocks/preview.tsx
"use client" import * as React from "react" import { useState } from "react" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeade...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
true
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/blocks/elevenlabs.tsx
apps/v4/registry/bases/base/blocks/elevenlabs.tsx
"use client" import * as React from "react" import { useEffect, useMemo, useRef, useState } from "react" import { cn } from "@/lib/utils" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { Card, CardContent, C...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
true
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/blocks/_registry.ts
apps/v4/registry/bases/base/blocks/_registry.ts
import { type Registry } from "shadcn/schema" export const blocks: Registry["items"] = [ { name: "preview", title: "Home", type: "registry:block", registryDependencies: [ "alert-dialog", "avatar", "badge", "button", "button-group", "card", "checkbox", "...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/blocks/chatgpt.tsx
apps/v4/registry/bases/base/blocks/chatgpt.tsx
"use client" import * as React from "react" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Alert, AlertDescription } from "@/registry/bases/base/ui/alert" import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription,...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/blocks/vercel.tsx
apps/v4/registry/bases/base/blocks/vercel.tsx
"use client" import * as React from "react" import { format } from "date-fns" import { type DateRange } from "react-day-picker" import { Area, AreaChart } from "recharts" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Alert, AlertDescription } from "@/registry/bases/b...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/blocks/github.tsx
apps/v4/registry/bases/base/blocks/github.tsx
"use client" import * as React from "react" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/bases/base/ui/avatar" import { Badge } from "@/registry/bases/base/ui/badge" import { Button } from "@/registry/bas...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
true
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/components/_registry.ts
apps/v4/registry/bases/base/components/_registry.ts
import { type Registry } from "shadcn/schema" export const components: Registry["items"] = [ { name: "example", title: "Example", type: "registry:component", files: [ { path: "components/example.tsx", type: "registry:component", }, ], }, ]
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/components/example.tsx
apps/v4/registry/bases/base/components/example.tsx
import { cn } from "@/registry/bases/base/lib/utils" function ExampleWrapper({ className, ...props }: React.ComponentProps<"div">) { return ( <div className="bg-background w-full"> <div data-slot="example-wrapper" className={cn( "mx-auto grid min-h-screen w-full max-w-5xl min-w-0 ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/internal/_registry.ts
apps/v4/registry/bases/base/internal/_registry.ts
import { type Registry } from "shadcn/schema" export const internal: Registry["items"] = [ { name: "sink", type: "registry:internal", files: [ { path: "internal/sink.tsx", type: "registry:page", target: "app/sink/page.tsx", }, ], registryDependencies: [ "...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/internal/sink.tsx
apps/v4/registry/bases/base/internal/sink.tsx
import AccordionExample from "@/registry/bases/base/examples/accordion-example" import AlertDialogExample from "@/registry/bases/base/examples/alert-dialog-example" import AlertExample from "@/registry/bases/base/examples/alert-example" import AspectRatioExample from "@/registry/bases/base/examples/aspect-ratio-example...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/textarea-example.tsx
apps/v4/registry/bases/base/examples/textarea-example.tsx
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Field, FieldDescription, FieldLabel, } from "@/registry/bases/base/ui/field" import { Textarea } from "@/registry/bases/base/ui/textarea" export default function TextareaExample() { return ( <ExampleWrapper> ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/toggle-group-example.tsx
apps/v4/registry/bases/base/examples/toggle-group-example.tsx
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Input } from "@/registry/bases/base/ui/input" import { Select, SelectContent, SelectGroup, SelectItem, SelectTrigger, SelectValue, } from "@/registry/bases/base/ui/select" import { ToggleGroup, ToggleGroupIt...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/hover-card-example.tsx
apps/v4/registry/bases/base/examples/hover-card-example.tsx
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, } from "@/registry/bases/base/ui/dialog" import { HoverCard, Hover...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/progress-example.tsx
apps/v4/registry/bases/base/examples/progress-example.tsx
"use client" import * as React from "react" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Item, ItemActions, ItemContent, ItemGroup, ItemMedia, ItemTitle, } from "@/registry/bases/base/ui/item" import { Progress, ProgressLabel, ProgressValue, } from...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/sidebar-example.tsx
apps/v4/registry/bases/base/examples/sidebar-example.tsx
"use client" import * as React from "react" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "@/registry/bases/base/ui/dropdown-menu" import { Item, ItemActions, ItemContent, ItemDescription, ItemTitle, } from "@/registry/bases/base/ui/item" import { Label } ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/radio-group-example.tsx
apps/v4/registry/bases/base/examples/radio-group-example.tsx
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Field, FieldContent, FieldDescription, FieldLabel, FieldLegend, FieldSet, } from "@/registry/bases/base/ui/field" import { RadioGroup, RadioGroupItem, } from "@/registry/bases/base/ui/radio-group" export de...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/table-example.tsx
apps/v4/registry/bases/base/examples/table-example.tsx
"use client" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, } from "@/registry/bases/base/ui/dropdown-men...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/aspect-ratio-example.tsx
apps/v4/registry/bases/base/examples/aspect-ratio-example.tsx
import Image from "next/image" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { AspectRatio } from "@/registry/bases/base/ui/aspect-ratio" export default function AspectRatioExample() { return ( <ExampleWrapper className="max-w-4xl 2xl:max-w-4xl"> <AspectRat...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/combobox-example.tsx
apps/v4/registry/bases/base/examples/combobox-example.tsx
"use client" import * as React from "react" import { toast } from "sonner" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { Card, CardContent, CardFooter } from "@/registry/bases/base/ui/card" import { Combobox,...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
true
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/tooltip-example.tsx
apps/v4/registry/bases/base/examples/tooltip-example.tsx
"use client" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { Kbd } from "@/registry/bases/base/ui/kbd" import { Tooltip, TooltipContent, TooltipTrigger, } from "@/registry/bases/base/ui/tooltip" import { Ico...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/kbd-example.tsx
apps/v4/registry/bases/base/examples/kbd-example.tsx
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { InputGroup, InputGroupAddon, InputGroupInput, } from "@/registry/bases/base/ui/input-group" import { Kbd, KbdGroup } from "@/registry/bases/base/ui/kbd" import ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/alert-example.tsx
apps/v4/registry/bases/base/examples/alert-example.tsx
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Alert, AlertAction, AlertDescription, AlertTitle, } from "@/registry/bases/base/ui/alert" import { Badge } from "@/registry/bases/base/ui/badge" import { Button } from "@/registry/bases/base/ui/button" import { Icon...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/sidebar-icon-example.tsx
apps/v4/registry/bases/base/examples/sidebar-icon-example.tsx
"use client" import * as React from "react" import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/bases/base/ui/avatar" import { Button } from "@/registry/bases/base/ui/button" import { Collapsible, CollapsibleContent, CollapsibleTrigger, } from "@/registry/bases/base/ui/collapsible" import { ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/card-example.tsx
apps/v4/registry/bases/base/examples/card-example.tsx
import Image from "next/image" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Avatar, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, } from "@/registry/bases/base/ui/avatar" import { Button } from "@/registry/bases/base/ui/button" import { Card...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/button-example.tsx
apps/v4/registry/bases/base/examples/button-example.tsx
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" export default function ButtonExample() { return ( <ExampleWrapper className="lg:grid-cols-...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/sheet-example.tsx
apps/v4/registry/bases/base/examples/sheet-example.tsx
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { Field, FieldGroup, FieldLabel } from "@/registry/bases/base/ui/field" import { Input } from "@/registry/bases/base/ui/input" import { Sheet, SheetClose, SheetCo...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/context-menu-example.tsx
apps/v4/registry/bases/base/examples/context-menu-example.tsx
"use client" import * as React from "react" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabe...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/drawer-example.tsx
apps/v4/registry/bases/base/examples/drawer-example.tsx
"use client" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, } from "@/registry/bases/...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/slider-example.tsx
apps/v4/registry/bases/base/examples/slider-example.tsx
"use client" import * as React from "react" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Label } from "@/registry/bases/base/ui/label" import { Slider } from "@/registry/bases/base/ui/slider" export default function SliderExample() { return ( <ExampleWrapper>...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/toggle-example.tsx
apps/v4/registry/bases/base/examples/toggle-example.tsx
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { Toggle } from "@/registry/bases/base/ui/toggle" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" export default function ToggleExample() ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/dropdown-menu-example.tsx
apps/v4/registry/bases/base/examples/dropdown-menu-example.tsx
"use client" import * as React from "react" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/bases/base/ui/avatar" import { Button } from "@/registry/bases/base/ui/button" import { Dialog, DialogContent, ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
true
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/sidebar-inset-example.tsx
apps/v4/registry/bases/base/examples/sidebar-inset-example.tsx
"use client" import * as React from "react" import { Collapsible, CollapsibleContent, CollapsibleTrigger, } from "@/registry/bases/base/ui/collapsible" import { Sidebar, SidebarContent, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarM...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/navigation-menu-example.tsx
apps/v4/registry/bases/base/examples/navigation-menu-example.tsx
"use client" import * as React from "react" import Link from "next/link" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, navigationMe...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/avatar-example.tsx
apps/v4/registry/bases/base/examples/avatar-example.tsx
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, } from "@/registry/bases/base/ui/avatar" import { Button } from "@/registry/bases/base/ui/button" import { Empty, EmptyContent...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/component-example.tsx
apps/v4/registry/bases/base/examples/component-example.tsx
"use client" import * as React from "react" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDia...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/empty-example.tsx
apps/v4/registry/bases/base/examples/empty-example.tsx
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, } from "@/registry/bases/base/ui/empty" import { InputGroup, InputGroupAdd...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/input-otp-example.tsx
apps/v4/registry/bases/base/examples/input-otp-example.tsx
"use client" import * as React from "react" import { REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS } from "input-otp" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { Card, CardContent, CardDescription, ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/pagination-example.tsx
apps/v4/registry/bases/base/examples/pagination-example.tsx
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Field, FieldLabel } from "@/registry/bases/base/ui/field" import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, } from "@/registry/base...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/badge-example.tsx
apps/v4/registry/bases/base/examples/badge-example.tsx
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Badge } from "@/registry/bases/base/ui/badge" import { Spinner } from "@/registry/bases/base/ui/spinner" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" export default function BadgeExample() {...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/_registry.ts
apps/v4/registry/bases/base/examples/_registry.ts
import { type Registry } from "shadcn/schema" export const examples: Registry["items"] = [ { name: "accordion-example", title: "Accordion", type: "registry:example", registryDependencies: ["accordion", "button", "card", "example"], files: [ { path: "examples/accordion-example.tsx", ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/sonner-example.tsx
apps/v4/registry/bases/base/examples/sonner-example.tsx
"use client" import { toast } from "sonner" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" export default function SonnerExample() { return ( <ExampleWrapper> <SonnerBasic /> <SonnerWithDescription /> ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/separator-example.tsx
apps/v4/registry/bases/base/examples/separator-example.tsx
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Separator } from "@/registry/bases/base/ui/separator" export default function SeparatorExample() { return ( <ExampleWrapper> <SeparatorHorizontal /> <SeparatorVertical /> <SeparatorVerticalMenu /> ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/label-example.tsx
apps/v4/registry/bases/base/examples/label-example.tsx
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Checkbox } from "@/registry/bases/base/ui/checkbox" import { Field } from "@/registry/bases/base/ui/field" import { Input } from "@/registry/bases/base/ui/input" import { Label } from "@/registry/bases/base/ui/label" import...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/popover-example.tsx
apps/v4/registry/bases/base/examples/popover-example.tsx
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, } from "@/registry/bases/base/ui/dialog" import { Field, FieldGroup, F...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/sidebar-floating-example.tsx
apps/v4/registry/bases/base/examples/sidebar-floating-example.tsx
"use client" import { Button } from "@/registry/bases/base/ui/button" import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/registry/bases/base/ui/card" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuTrigger, } from "@/registry/b...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/field-example.tsx
apps/v4/registry/bases/base/examples/field-example.tsx
"use client" import { useState } from "react" import { REGEXP_ONLY_DIGITS } from "input-otp" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Badge } from "@/registry/bases/base/ui/badge" import { Checkbox } from "@/registry/bases/base/ui/checkbox" import { Field, F...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
true
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/dialog-example.tsx
apps/v4/registry/bases/base/examples/dialog-example.tsx
"use client" import * as React from "react" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { Checkbox } from "@/registry/bases/base/ui/checkbox" import { Dialog, DialogClose, DialogContent, DialogDescripti...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/tabs-example.tsx
apps/v4/registry/bases/base/examples/tabs-example.tsx
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, } from "@/registry/bases/base/ui/dropdown-menu" import { In...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/alert-dialog-example.tsx
apps/v4/registry/bases/base/examples/alert-dialog-example.tsx
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogTitle, AlertDialogTrigger, } from "@/regi...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/select-example.tsx
apps/v4/registry/bases/base/examples/select-example.tsx
"use client" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, } from "@/registry/bases/base/ui/dialog" import { Fiel...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/input-group-example.tsx
apps/v4/registry/bases/base/examples/input-group-example.tsx
"use client" import { useState } from "react" import { toast } from "sonner" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { ButtonGroup, ButtonGroupText, } from "@/registry/bases/base/ui/button-group" import...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/input-example.tsx
apps/v4/registry/bases/base/examples/input-example.tsx
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { Field, FieldDescription, FieldGroup, FieldLabel, } from "@/registry/bases/base/ui/field" import { Input } from "@/registry/bases/base/ui/input" import { Nat...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/spinner-example.tsx
apps/v4/registry/bases/base/examples/spinner-example.tsx
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Badge } from "@/registry/bases/base/ui/badge" import { Button } from "@/registry/bases/base/ui/button" import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, } from "@/registry/base...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/bases/base/examples/collapsible-example.tsx
apps/v4/registry/bases/base/examples/collapsible-example.tsx
"use client" import * as React from "react" import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Button } from "@/registry/bases/base/ui/button" import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/registry/bases/base/ui/card" import { C...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false