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/deprecated/www/registry/default/examples/button-with-icon.tsx
deprecated/www/registry/default/examples/button-with-icon.tsx
import { Mail } from "lucide-react" import { Button } from "@/registry/default/ui/button" export default function ButtonWithIcon() { return ( <Button> <Mail /> Login with Email </Button> ) }
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/select-demo.tsx
deprecated/www/registry/default/examples/select-demo.tsx
import * as React from "react" import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectTrigger, SelectValue, } from "@/registry/default/ui/select" export default function SelectDemo() { return ( <Select> <SelectTrigger className="w-[180px]"> <SelectValue placehold...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/input-otp-demo.tsx
deprecated/www/registry/default/examples/input-otp-demo.tsx
import { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, } from "@/registry/default/ui/input-otp" export default function InputOTPDemo() { return ( <InputOTP maxLength={6}> <InputOTPGroup> <InputOTPSlot index={0} /> <InputOTPSlot index={1} /> <InputOTPSlot index={2...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/toast-destructive.tsx
deprecated/www/registry/default/examples/toast-destructive.tsx
"use client" import { useToast } from "@/registry/default/hooks/use-toast" import { Button } from "@/registry/default/ui/button" import { ToastAction } from "@/registry/default/ui/toast" export default function ToastDestructive() { const { toast } = useToast() return ( <Button variant="outline" o...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/checkbox-disabled.tsx
deprecated/www/registry/default/examples/checkbox-disabled.tsx
import { Checkbox } from "@/registry/default/ui/checkbox" export default function CheckboxDisabled() { return ( <div className="flex items-center space-x-2"> <Checkbox id="terms2" disabled /> <label htmlFor="terms2" className="text-sm font-medium leading-none peer-disabled:cursor-not-...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/sheet-demo.tsx
deprecated/www/registry/default/examples/sheet-demo.tsx
import { Button } from "@/registry/default/ui/button" import { Input } from "@/registry/default/ui/input" import { Label } from "@/registry/default/ui/label" import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, } from "@/registry/default/ui/shee...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/card-demo.tsx
deprecated/www/registry/default/examples/card-demo.tsx
import { BellRing, Check } from "lucide-react" import { cn } from "@/lib/utils" import { Button } from "@/registry/default/ui/button" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/default/ui/card" import { Switch } from "@/registry/default/ui/switch" co...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/date-picker-with-range.tsx
deprecated/www/registry/default/examples/date-picker-with-range.tsx
"use client" import * as React from "react" import { addDays, format } from "date-fns" import { Calendar as CalendarIcon } from "lucide-react" import { DateRange } from "react-day-picker" import { cn } from "@/lib/utils" import { Button } from "@/registry/default/ui/button" import { Calendar } from "@/registry/defaul...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/collapsible-demo.tsx
deprecated/www/registry/default/examples/collapsible-demo.tsx
"use client" import * as React from "react" import { ChevronsUpDown } from "lucide-react" import { Button } from "@/registry/default/ui/button" import { Collapsible, CollapsibleContent, CollapsibleTrigger, } from "@/registry/default/ui/collapsible" export default function CollapsibleDemo() { const [isOpen, s...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/resizable-demo.tsx
deprecated/www/registry/default/examples/resizable-demo.tsx
import { ResizableHandle, ResizablePanel, ResizablePanelGroup, } from "@/registry/default/ui/resizable" export default function ResizableDemo() { return ( <ResizablePanelGroup direction="horizontal" className="max-w-md rounded-lg border md:min-w-[450px]" > <ResizablePanel defaultSize=...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/separator-demo.tsx
deprecated/www/registry/default/examples/separator-demo.tsx
import { Separator } from "@/registry/default/ui/separator" export default function SeparatorDemo() { return ( <div> <div className="space-y-1"> <h4 className="text-sm font-medium leading-none">Radix Primitives</h4> <p className="text-sm text-muted-foreground"> An open-source UI c...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/typography-h4.tsx
deprecated/www/registry/default/examples/typography-h4.tsx
export default function TypographyH4() { return ( <h4 className="scroll-m-20 text-xl font-semibold tracking-tight"> People stopped telling jokes </h4> ) }
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/input-form.tsx
deprecated/www/registry/default/examples/input-form.tsx
"use client" import { zodResolver } from "@hookform/resolvers/zod" import { useForm } from "react-hook-form" import { z } from "zod" import { toast } from "@/registry/default/hooks/use-toast" import { Button } from "@/registry/default/ui/button" import { Form, FormControl, FormDescription, FormField, FormIt...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/chart-tooltip-demo.tsx
deprecated/www/registry/default/examples/chart-tooltip-demo.tsx
"use client" import * as React from "react" import { cn } from "@/lib/utils" export default function Component() { return ( <div className="grid aspect-video w-full max-w-md justify-center text-foreground md:grid-cols-2 [&>div]:relative [&>div]:flex [&>div]:h-[137px] [&>div]:w-[224px] [&>div]:items-center [&>d...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/slider-demo.tsx
deprecated/www/registry/default/examples/slider-demo.tsx
import { cn } from "@/lib/utils" import { Slider } from "@/registry/default/ui/slider" type SliderProps = React.ComponentProps<typeof Slider> export default function SliderDemo({ className, ...props }: SliderProps) { return ( <Slider defaultValue={[50]} max={100} step={1} className={cn("...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/toggle-lg.tsx
deprecated/www/registry/default/examples/toggle-lg.tsx
import { Italic } from "lucide-react" import { Toggle } from "@/registry/default/ui/toggle" export default function ToggleLg() { return ( <Toggle size="lg" aria-label="Toggle italic"> <Italic className="h-4 w-4" /> </Toggle> ) }
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/toggle-group-disabled.tsx
deprecated/www/registry/default/examples/toggle-group-disabled.tsx
import { Bold, Italic, Underline } from "lucide-react" import { ToggleGroup, ToggleGroupItem, } from "@/registry/default/ui/toggle-group" export default function ToggleGroupDemo() { return ( <ToggleGroup disabled type="single"> <ToggleGroupItem value="bold" aria-label="Toggle bold"> <Bold clas...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/alert-dialog-demo.tsx
deprecated/www/registry/default/examples/alert-dialog-demo.tsx
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, } from "@/registry/default/ui/alert-dialog" import { Button } from "@/registry/default/ui/button" export default function...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/skeleton-card.tsx
deprecated/www/registry/default/examples/skeleton-card.tsx
import { Skeleton } from "@/registry/default/ui/skeleton" export default function SkeletonCard() { return ( <div className="flex flex-col space-y-3"> <Skeleton className="h-[125px] w-[250px] rounded-xl" /> <div className="space-y-2"> <Skeleton className="h-4 w-[250px]" /> <Skeleton cl...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/button-secondary.tsx
deprecated/www/registry/default/examples/button-secondary.tsx
import { Button } from "@/registry/default/ui/button" export default function ButtonSecondary() { return <Button variant="secondary">Secondary</Button> }
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/carousel-plugin.tsx
deprecated/www/registry/default/examples/carousel-plugin.tsx
import * as React from "react" import Autoplay from "embla-carousel-autoplay" import { Card, CardContent } from "@/registry/default/ui/card" import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, } from "@/registry/default/ui/carousel" export default function CarouselPlugin() { ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/combobox-demo.tsx
deprecated/www/registry/default/examples/combobox-demo.tsx
"use client" import * as React from "react" import { Check, ChevronsUpDown } from "lucide-react" import { cn } from "@/lib/utils" import { Button } from "@/registry/default/ui/button" import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, } from "@/registry/default/ui/comman...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/dialog-demo.tsx
deprecated/www/registry/default/examples/dialog-demo.tsx
import { Button } from "@/registry/default/ui/button" import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, } from "@/registry/default/ui/dialog" import { Input } from "@/registry/default/ui/input" import { Label } from "@/registry/default/ui/label" ex...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/checkbox-form-single.tsx
deprecated/www/registry/default/examples/checkbox-form-single.tsx
"use client" import Link from "next/link" import { zodResolver } from "@hookform/resolvers/zod" import { useForm } from "react-hook-form" import { z } from "zod" import { toast } from "@/registry/default/hooks/use-toast" import { Button } from "@/registry/default/ui/button" import { Checkbox } from "@/registry/defaul...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/date-picker-demo.tsx
deprecated/www/registry/default/examples/date-picker-demo.tsx
"use client" import * as React from "react" import { format } from "date-fns" import { CalendarIcon } from "lucide-react" import { cn } from "@/lib/utils" import { Button } from "@/registry/default/ui/button" import { Calendar } from "@/registry/default/ui/calendar" import { Popover, PopoverContent, PopoverTrig...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/breadcrumb-separator.tsx
deprecated/www/registry/default/examples/breadcrumb-separator.tsx
import { Slash } from "lucide-react" import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/registry/default/ui/breadcrumb" export default function BreadcrumbWithCustomSeparator() { return ( <Breadcrumb> <BreadcrumbList> <Bre...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/resizable-vertical.tsx
deprecated/www/registry/default/examples/resizable-vertical.tsx
import { ResizableHandle, ResizablePanel, ResizablePanelGroup, } from "@/registry/default/ui/resizable" export default function ResizableDemo() { return ( <ResizablePanelGroup direction="vertical" className="min-h-[200px] max-w-md rounded-lg border md:min-w-[450px]" > <ResizablePanel ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/typography-list.tsx
deprecated/www/registry/default/examples/typography-list.tsx
export default function TypographyList() { return ( <ul className="my-6 ml-6 list-disc [&>li]:mt-2"> <li>1st level of puns: 5 gold coins</li> <li>2nd level of jokes: 10 gold coins</li> <li>3rd level of one-liners : 20 gold coins</li> </ul> ) }
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/radio-group-demo.tsx
deprecated/www/registry/default/examples/radio-group-demo.tsx
import { Label } from "@/registry/default/ui/label" import { RadioGroup, RadioGroupItem } from "@/registry/default/ui/radio-group" export default function RadioGroupDemo() { return ( <RadioGroup defaultValue="comfortable"> <div className="flex items-center space-x-2"> <RadioGroupItem value="default...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/toggle-group-lg.tsx
deprecated/www/registry/default/examples/toggle-group-lg.tsx
import { Bold, Italic, Underline } from "lucide-react" import { ToggleGroup, ToggleGroupItem, } from "@/registry/default/ui/toggle-group" export default function ToggleGroupDemo() { return ( <ToggleGroup size={"lg"} type="multiple"> <ToggleGroupItem value="bold" aria-label="Toggle bold"> <Bold...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/carousel-spacing.tsx
deprecated/www/registry/default/examples/carousel-spacing.tsx
import * as React from "react" import { Card, CardContent } from "@/registry/default/ui/card" import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, } from "@/registry/default/ui/carousel" export default function CarouselSpacing() { return ( <Carousel className="w-full max-w...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/button-ghost.tsx
deprecated/www/registry/default/examples/button-ghost.tsx
import { Button } from "@/registry/default/ui/button" export default function ButtonGhost() { return <Button variant="ghost">Ghost</Button> }
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/badge-outline.tsx
deprecated/www/registry/default/examples/badge-outline.tsx
import { Badge } from "@/registry/default/ui/badge" export default function BadgeOutline() { return <Badge variant="outline">Outline</Badge> }
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/combobox-responsive.tsx
deprecated/www/registry/default/examples/combobox-responsive.tsx
"use client" import * as React from "react" import { useMediaQuery } from "@/hooks/use-media-query" import { Button } from "@/registry/default/ui/button" import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, } from "@/registry/default/ui/command" import { Drawer, Drawer...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/carousel-demo.tsx
deprecated/www/registry/default/examples/carousel-demo.tsx
import * as React from "react" import { Card, CardContent } from "@/registry/default/ui/card" import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, } from "@/registry/default/ui/carousel" export default function CarouselDemo() { return ( <Carousel className="w-full max-w-xs...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/input-with-button.tsx
deprecated/www/registry/default/examples/input-with-button.tsx
import { Button } from "@/registry/default/ui/button" import { Input } from "@/registry/default/ui/input" export default function InputWithButton() { return ( <div className="flex w-full max-w-sm items-center space-x-2"> <Input type="email" placeholder="Email" /> <Button type="submit">Subscribe</Butt...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/typography-muted.tsx
deprecated/www/registry/default/examples/typography-muted.tsx
export default function TypographyMuted() { return ( <p className="text-sm text-muted-foreground">Enter your email address.</p> ) }
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/toggle-outline.tsx
deprecated/www/registry/default/examples/toggle-outline.tsx
import { Italic } from "lucide-react" import { Toggle } from "@/registry/default/ui/toggle" export default function ToggleOutline() { return ( <Toggle variant="outline" aria-label="Toggle italic"> <Italic className="h-4 w-4" /> </Toggle> ) }
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/checkbox-demo.tsx
deprecated/www/registry/default/examples/checkbox-demo.tsx
"use client" import { Checkbox } from "@/registry/default/ui/checkbox" export default function CheckboxDemo() { return ( <div className="flex items-center space-x-2"> <Checkbox id="terms" /> <label htmlFor="terms" className="text-sm font-medium leading-none peer-disabled:cursor-not-a...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/avatar-demo.tsx
deprecated/www/registry/default/examples/avatar-demo.tsx
import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/default/ui/avatar" export default function AvatarDemo() { return ( <Avatar> <AvatarImage src="https://github.com/shadcn.png" alt="@shadcn" /> <AvatarFallback>CN</AvatarFallback> </Avatar> ) }
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/typography-blockquote.tsx
deprecated/www/registry/default/examples/typography-blockquote.tsx
export default function TypographyBlockquote() { return ( <blockquote className="mt-6 border-l-2 pl-6 italic"> "After all," he said, "everyone enjoys a good joke, so it's only fair that they should pay for the privilege." </blockquote> ) }
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/command-dialog.tsx
deprecated/www/registry/default/examples/command-dialog.tsx
"use client" import * as React from "react" import { Calculator, Calendar, CreditCard, Settings, Smile, User, } from "lucide-react" import { CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, } from "@/registry/default/ui/c...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/date-picker-with-presets.tsx
deprecated/www/registry/default/examples/date-picker-with-presets.tsx
"use client" import * as React from "react" import { addDays, format } from "date-fns" import { Calendar as CalendarIcon } from "lucide-react" import { cn } from "@/lib/utils" import { Button } from "@/registry/default/ui/button" import { Calendar } from "@/registry/default/ui/calendar" import { Popover, PopoverC...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/chart-bar-demo.tsx
deprecated/www/registry/default/examples/chart-bar-demo.tsx
"use client" import { Bar, BarChart } from "recharts" import { ChartConfig, ChartContainer } from "@/registry/default/ui/chart" const chartData = [ { month: "January", desktop: 186, mobile: 80 }, { month: "February", desktop: 305, mobile: 200 }, { month: "March", desktop: 237, mobile: 120 }, { month: "April"...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/radio-group-form.tsx
deprecated/www/registry/default/examples/radio-group-form.tsx
"use client" import { zodResolver } from "@hookform/resolvers/zod" import { useForm } from "react-hook-form" import { z } from "zod" import { toast } from "@/registry/default/hooks/use-toast" import { Button } from "@/registry/default/ui/button" import { Form, FormControl, FormField, FormItem, FormLabel, ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/badge-demo.tsx
deprecated/www/registry/default/examples/badge-demo.tsx
import { Badge } from "@/registry/default/ui/badge" export default function BadgeDemo() { return <Badge>Badge</Badge> }
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/input-with-label.tsx
deprecated/www/registry/default/examples/input-with-label.tsx
import { Input } from "@/registry/default/ui/input" import { Label } from "@/registry/default/ui/label" export default function InputWithLabel() { return ( <div className="grid w-full max-w-sm items-center gap-1.5"> <Label htmlFor="email">Email</Label> <Input type="email" id="email" placeholder="Emai...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/alert-destructive.tsx
deprecated/www/registry/default/examples/alert-destructive.tsx
import { AlertCircle } from "lucide-react" import { Alert, AlertDescription, AlertTitle, } from "@/registry/default/ui/alert" export default function AlertDestructive() { return ( <Alert variant="destructive"> <AlertCircle className="h-4 w-4" /> <AlertTitle>Error</AlertTitle> <AlertDescr...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/toast-demo.tsx
deprecated/www/registry/default/examples/toast-demo.tsx
"use client" import { useToast } from "@/registry/default/hooks/use-toast" import { Button } from "@/registry/default/ui/button" import { ToastAction } from "@/registry/default/ui/toast" export default function ToastDemo() { const { toast } = useToast() return ( <Button variant="outline" onClick=...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/resizable-handle.tsx
deprecated/www/registry/default/examples/resizable-handle.tsx
import { ResizableHandle, ResizablePanel, ResizablePanelGroup, } from "@/registry/default/ui/resizable" export default function ResizableDemo() { return ( <ResizablePanelGroup direction="horizontal" className="min-h-[200px] max-w-md rounded-lg border md:min-w-[450px]" > <ResizablePane...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/button-icon.tsx
deprecated/www/registry/default/examples/button-icon.tsx
import { ChevronRight } from "lucide-react" import { Button } from "@/registry/default/ui/button" export default function ButtonIcon() { return ( <Button variant="outline" size="icon"> <ChevronRight /> </Button> ) }
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/typography-demo.tsx
deprecated/www/registry/default/examples/typography-demo.tsx
export default function TypographyDemo() { return ( <div> <h1 className="scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl"> The Joke Tax Chronicles </h1> <p className="leading-7 [&:not(:first-child)]:mt-6"> Once upon a time, in a far-off land, there was a very lazy ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/chart-bar-demo-tooltip.tsx
deprecated/www/registry/default/examples/chart-bar-demo-tooltip.tsx
"use client" import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" import { ChartConfig, ChartContainer, ChartTooltip, ChartTooltipContent, } from "@/registry/default/ui/chart" const chartData = [ { month: "January", desktop: 186, mobile: 80 }, { month: "February", desktop: 305, mobile: 200 }, ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/calendar-form.tsx
deprecated/www/registry/default/examples/calendar-form.tsx
"use client" import { zodResolver } from "@hookform/resolvers/zod" import { format } from "date-fns" import { CalendarIcon } from "lucide-react" import { useForm } from "react-hook-form" import { z } from "zod" import { cn } from "@/lib/utils" import { toast } from "@/registry/default/hooks/use-toast" import { Button...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/typography-small.tsx
deprecated/www/registry/default/examples/typography-small.tsx
export default function TypographySmall() { return ( <small className="text-sm font-medium leading-none">Email address</small> ) }
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/label-demo.tsx
deprecated/www/registry/default/examples/label-demo.tsx
import { Checkbox } from "@/registry/default/ui/checkbox" import { Label } from "@/registry/default/ui/label" export default function LabelDemo() { return ( <div> <div className="flex items-center space-x-2"> <Checkbox id="terms" /> <Label htmlFor="terms">Accept terms and conditions</Label>...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/scroll-area-horizontal-demo.tsx
deprecated/www/registry/default/examples/scroll-area-horizontal-demo.tsx
import * as React from "react" import Image from "next/image" import { ScrollArea, ScrollBar } from "@/registry/default/ui/scroll-area" export interface Artwork { artist: string art: string } export const works: Artwork[] = [ { artist: "Ornella Binni", art: "https://images.unsplash.com/photo-1465869185...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/examples/date-picker-form.tsx
deprecated/www/registry/default/examples/date-picker-form.tsx
"use client" import { zodResolver } from "@hookform/resolvers/zod" import { format } from "date-fns" import { CalendarIcon } from "lucide-react" import { useForm } from "react-hook-form" import { z } from "zod" import { cn } from "@/lib/utils" import { toast } from "@/registry/default/hooks/use-toast" import { Button...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/lib/utils.ts
deprecated/www/registry/default/lib/utils.ts
import { clsx, type ClassValue } from "clsx" import { twMerge } from "tailwind-merge" export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)) }
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/sonner.tsx
deprecated/www/registry/default/ui/sonner.tsx
"use client" import { CircleCheck, Info, LoaderCircle, OctagonX, TriangleAlert, } from "lucide-react" import { useTheme } from "next-themes" import { Toaster as Sonner } from "sonner" type ToasterProps = React.ComponentProps<typeof Sonner> const Toaster = ({ ...props }: ToasterProps) => { const { theme =...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/table.tsx
deprecated/www/registry/default/ui/table.tsx
import * as React from "react" import { cn } from "@/lib/utils" const Table = React.forwardRef< HTMLTableElement, React.HTMLAttributes<HTMLTableElement> >(({ className, ...props }, ref) => ( <div className="relative w-full overflow-auto"> <table ref={ref} className={cn("w-full caption-bottom tex...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/form.tsx
deprecated/www/registry/default/ui/form.tsx
"use client" import * as React from "react" import * as LabelPrimitive from "@radix-ui/react-label" import { Slot } from "@radix-ui/react-slot" import { Controller, FormProvider, useFormContext, type ControllerProps, type FieldPath, type FieldValues, } from "react-hook-form" import { cn } from "@/lib/util...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/toaster.tsx
deprecated/www/registry/default/ui/toaster.tsx
"use client" import { useToast } from "@/registry/default/hooks/use-toast" import { Toast, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, } from "@/registry/default/ui/toast" export function Toaster() { const { toasts } = useToast() return ( <ToastProvider> {toasts....
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/collapsible.tsx
deprecated/www/registry/default/ui/collapsible.tsx
"use client" import * as CollapsiblePrimitive from "@radix-ui/react-collapsible" const Collapsible = CollapsiblePrimitive.Root const CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger const CollapsibleContent = CollapsiblePrimitive.CollapsibleContent export { Collapsible, CollapsibleTrigger, CollapsibleC...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/avatar.tsx
deprecated/www/registry/default/ui/avatar.tsx
"use client" import * as React from "react" import * as AvatarPrimitive from "@radix-ui/react-avatar" import { cn } from "@/lib/utils" const Avatar = React.forwardRef< React.ElementRef<typeof AvatarPrimitive.Root>, React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root> >(({ className, ...props }, ref) => ( ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/aspect-ratio.tsx
deprecated/www/registry/default/ui/aspect-ratio.tsx
"use client" import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio" const AspectRatio = AspectRatioPrimitive.Root export { AspectRatio }
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/navigation-menu.tsx
deprecated/www/registry/default/ui/navigation-menu.tsx
import * as React from "react" import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu" import { cva } from "class-variance-authority" import { ChevronDown } from "lucide-react" import { cn } from "@/lib/utils" const NavigationMenu = React.forwardRef< React.ElementRef<typeof NavigationMenuPrimitiv...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/progress.tsx
deprecated/www/registry/default/ui/progress.tsx
"use client" import * as React from "react" import * as ProgressPrimitive from "@radix-ui/react-progress" import { cn } from "@/lib/utils" const Progress = React.forwardRef< React.ElementRef<typeof ProgressPrimitive.Root>, React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> >(({ className, value, ...pr...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/toast.tsx
deprecated/www/registry/default/ui/toast.tsx
"use client" import * as React from "react" import * as ToastPrimitives from "@radix-ui/react-toast" import { cva, type VariantProps } from "class-variance-authority" import { X } from "lucide-react" import { cn } from "@/lib/utils" const ToastProvider = ToastPrimitives.Provider const ToastViewport = React.forwardR...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/menubar.tsx
deprecated/www/registry/default/ui/menubar.tsx
"use client" import * as React from "react" import * as MenubarPrimitive from "@radix-ui/react-menubar" import { Check, ChevronRight, Circle } from "lucide-react" import { cn } from "@/lib/utils" function MenubarMenu({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Menu>) { return <MenubarPrimitive.Men...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/spinner.tsx
deprecated/www/registry/default/ui/spinner.tsx
import { Loader2Icon } from "lucide-react" import { cn } from "@/lib/utils" function Spinner({ className, ...props }: React.ComponentProps<"svg">) { return ( <Loader2Icon role="status" aria-label="Loading" className={cn("size-4 animate-spin", className)} {...props} /> ) } export {...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/breadcrumb.tsx
deprecated/www/registry/default/ui/breadcrumb.tsx
import * as React from "react" import { Slot } from "@radix-ui/react-slot" import { ChevronRight, MoreHorizontal } from "lucide-react" import { cn } from "@/lib/utils" const Breadcrumb = React.forwardRef< HTMLElement, React.ComponentPropsWithoutRef<"nav"> & { separator?: React.ReactNode } >(({ ...props }, r...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/dialog.tsx
deprecated/www/registry/default/ui/dialog.tsx
"use client" import * as React from "react" import * as DialogPrimitive from "@radix-ui/react-dialog" import { X } from "lucide-react" import { cn } from "@/lib/utils" const Dialog = DialogPrimitive.Root const DialogTrigger = DialogPrimitive.Trigger const DialogPortal = DialogPrimitive.Portal const DialogClose = ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/label.tsx
deprecated/www/registry/default/ui/label.tsx
"use client" import * as React from "react" import * as LabelPrimitive from "@radix-ui/react-label" import { cva, type VariantProps } from "class-variance-authority" import { cn } from "@/lib/utils" const labelVariants = cva( "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/drawer.tsx
deprecated/www/registry/default/ui/drawer.tsx
"use client" import * as React from "react" import { Drawer as DrawerPrimitive } from "vaul" import { cn } from "@/lib/utils" const Drawer = ({ shouldScaleBackground = true, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>) => ( <DrawerPrimitive.Root shouldScaleBackground={shouldScaleBackgroun...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/toggle.tsx
deprecated/www/registry/default/ui/toggle.tsx
"use client" import * as React from "react" import * as TogglePrimitive from "@radix-ui/react-toggle" import { cva, type VariantProps } from "class-variance-authority" import { cn } from "@/lib/utils" const toggleVariants = cva( "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-ba...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/tabs.tsx
deprecated/www/registry/default/ui/tabs.tsx
"use client" import * as React from "react" import * as TabsPrimitive from "@radix-ui/react-tabs" import { cn } from "@/lib/utils" const Tabs = TabsPrimitive.Root const TabsList = React.forwardRef< React.ElementRef<typeof TabsPrimitive.List>, React.ComponentPropsWithoutRef<typeof TabsPrimitive.List> >(({ classN...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/button.tsx
deprecated/www/registry/default/ui/button.tsx
import * as React from "react" import { Slot } from "@radix-ui/react-slot" import { cva, type VariantProps } from "class-variance-authority" import { cn } from "@/lib/utils" const buttonVariants = cva( "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-backgr...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/sidebar.tsx
deprecated/www/registry/default/ui/sidebar.tsx
"use client" import * as React from "react" import { Slot } from "@radix-ui/react-slot" import { cva, type VariantProps } from "class-variance-authority" import { PanelLeft } from "lucide-react" import { useIsMobile } from "@/registry/default/hooks/use-mobile" import { cn } from "@/registry/default/lib/utils" import ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/item.tsx
deprecated/www/registry/default/ui/item.tsx
import * as React from "react" import { Slot } from "@radix-ui/react-slot" import { cva, type VariantProps } from "class-variance-authority" import { cn } from "@/lib/utils" import { Separator } from "@/registry/default/ui/separator" function ItemGroup({ className, ...props }: React.ComponentProps<"div">) { return ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/popover.tsx
deprecated/www/registry/default/ui/popover.tsx
"use client" import * as React from "react" import * as PopoverPrimitive from "@radix-ui/react-popover" import { cn } from "@/lib/utils" const Popover = PopoverPrimitive.Root const PopoverTrigger = PopoverPrimitive.Trigger const PopoverContent = React.forwardRef< React.ElementRef<typeof PopoverPrimitive.Content>...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/textarea.tsx
deprecated/www/registry/default/ui/textarea.tsx
import * as React from "react" import { cn } from "@/lib/utils" const Textarea = React.forwardRef< HTMLTextAreaElement, React.ComponentProps<"textarea"> >(({ className, ...props }, ref) => { return ( <textarea className={cn( "flex min-h-[80px] w-full rounded-md border border-input bg-backgroun...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/resizable.tsx
deprecated/www/registry/default/ui/resizable.tsx
"use client" import { GripVertical } from "lucide-react" import * as ResizablePrimitive from "react-resizable-panels" import { cn } from "@/lib/utils" const ResizablePanelGroup = ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => ( <ResizablePrimitive.PanelGroup classN...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/accordion.tsx
deprecated/www/registry/default/ui/accordion.tsx
"use client" import * as React from "react" import * as AccordionPrimitive from "@radix-ui/react-accordion" import { ChevronDown } from "lucide-react" import { cn } from "@/lib/utils" const Accordion = AccordionPrimitive.Root const AccordionItem = React.forwardRef< React.ElementRef<typeof AccordionPrimitive.Item>...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/dropdown-menu.tsx
deprecated/www/registry/default/ui/dropdown-menu.tsx
"use client" import * as React from "react" import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu" import { Check, ChevronRight, Circle } from "lucide-react" import { cn } from "@/lib/utils" const DropdownMenu = DropdownMenuPrimitive.Root const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger co...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/switch.tsx
deprecated/www/registry/default/ui/switch.tsx
"use client" import * as React from "react" import * as SwitchPrimitives from "@radix-ui/react-switch" import { cn } from "@/lib/utils" const Switch = React.forwardRef< React.ElementRef<typeof SwitchPrimitives.Root>, React.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root> >(({ className, ...props }, ref) =>...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/field.tsx
deprecated/www/registry/default/ui/field.tsx
"use client" import { useMemo } from "react" import { cva, type VariantProps } from "class-variance-authority" import { cn } from "@/lib/utils" import { Label } from "@/registry/default/ui/label" import { Separator } from "@/registry/default/ui/separator" function FieldSet({ className, ...props }: React.ComponentPro...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/slider.tsx
deprecated/www/registry/default/ui/slider.tsx
"use client" import * as React from "react" import * as SliderPrimitive from "@radix-ui/react-slider" import { cn } from "@/lib/utils" const Slider = React.forwardRef< React.ElementRef<typeof SliderPrimitive.Root>, React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root> >(({ className, ...props }, ref) => ( ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/carousel.tsx
deprecated/www/registry/default/ui/carousel.tsx
"use client" import * as React from "react" import useEmblaCarousel, { type UseEmblaCarouselType, } from "embla-carousel-react" import { ArrowLeft, ArrowRight } from "lucide-react" import { cn } from "@/lib/utils" import { Button } from "@/registry/default/ui/button" type CarouselApi = UseEmblaCarouselType[1] type...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/separator.tsx
deprecated/www/registry/default/ui/separator.tsx
"use client" import * as React from "react" import * as SeparatorPrimitive from "@radix-ui/react-separator" import { cn } from "@/lib/utils" const Separator = React.forwardRef< React.ElementRef<typeof SeparatorPrimitive.Root>, React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root> >( ( { className,...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/sheet.tsx
deprecated/www/registry/default/ui/sheet.tsx
"use client" import * as React from "react" import * as SheetPrimitive from "@radix-ui/react-dialog" import { cva, type VariantProps } from "class-variance-authority" import { X } from "lucide-react" import { cn } from "@/lib/utils" const Sheet = SheetPrimitive.Root const SheetTrigger = SheetPrimitive.Trigger cons...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/scroll-area.tsx
deprecated/www/registry/default/ui/scroll-area.tsx
"use client" import * as React from "react" import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area" import { cn } from "@/lib/utils" const ScrollArea = React.forwardRef< React.ElementRef<typeof ScrollAreaPrimitive.Root>, React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root> >(({ className, c...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/kbd.tsx
deprecated/www/registry/default/ui/kbd.tsx
import { cn } from "@/lib/utils" function Kbd({ className, ...props }: React.ComponentProps<"kbd">) { return ( <kbd data-slot="kbd" className={cn( "bg-muted text-muted-foreground pointer-events-none inline-flex h-5 w-fit min-w-5 select-none items-center justify-center gap-1 rounded-sm px-1 fo...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/card.tsx
deprecated/www/registry/default/ui/card.tsx
import * as React from "react" import { cn } from "@/lib/utils" const Card = React.forwardRef< HTMLDivElement, React.HTMLAttributes<HTMLDivElement> >(({ className, ...props }, ref) => ( <div ref={ref} className={cn( "rounded-lg border bg-card text-card-foreground shadow-sm", className )}...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/hover-card.tsx
deprecated/www/registry/default/ui/hover-card.tsx
"use client" import * as React from "react" import * as HoverCardPrimitive from "@radix-ui/react-hover-card" import { cn } from "@/lib/utils" const HoverCard = HoverCardPrimitive.Root const HoverCardTrigger = HoverCardPrimitive.Trigger const HoverCardContent = React.forwardRef< React.ElementRef<typeof HoverCardP...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/alert.tsx
deprecated/www/registry/default/ui/alert.tsx
import * as React from "react" import { cva, type VariantProps } from "class-variance-authority" import { cn } from "@/lib/utils" const alertVariants = cva( "relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground", ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/toggle-group.tsx
deprecated/www/registry/default/ui/toggle-group.tsx
"use client" import * as React from "react" import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group" import { type VariantProps } from "class-variance-authority" import { cn } from "@/lib/utils" import { toggleVariants } from "@/registry/default/ui/toggle" const ToggleGroupContext = React.createContext< ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/badge.tsx
deprecated/www/registry/default/ui/badge.tsx
import * as React from "react" import { cva, type VariantProps } from "class-variance-authority" import { cn } from "@/lib/utils" const badgeVariants = cva( "inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/default/ui/skeleton.tsx
deprecated/www/registry/default/ui/skeleton.tsx
import { cn } from "@/lib/utils" function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) { return ( <div className={cn("animate-pulse rounded-md bg-muted", 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/deprecated/www/registry/default/ui/button-group.tsx
deprecated/www/registry/default/ui/button-group.tsx
import { Slot } from "@radix-ui/react-slot" import { cva, type VariantProps } from "class-variance-authority" import { cn } from "@/lib/utils" import { Separator } from "@/registry/default/ui/separator" const buttonGroupVariants = cva( "flex w-fit items-stretch has-[>[data-slot=button-group]]:gap-2 [&>*]:focus-visi...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false