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/internal/sink/components/carousel-demo.tsx
deprecated/www/registry/default/internal/sink/components/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 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/internal/sink/components/toggle-outline.tsx
deprecated/www/registry/default/internal/sink/components/toggle-outline.tsx
import { Italic } from "lucide-react" import { Toggle } from "@/registry/default/ui/toggle" export function ToggleOutline() { return ( <Toggle variant="outline" aria-label="Toggle italic"> <Italic /> </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/internal/sink/components/team-switcher.tsx
deprecated/www/registry/default/internal/sink/components/team-switcher.tsx
"use client" import * as React from "react" import { ChevronsUpDown, Plus } from "lucide-react" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, } from "@/registry/default/ui/dropdown-menu" import { Sideb...
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/internal/sink/components/checkbox-demo.tsx
deprecated/www/registry/default/internal/sink/components/checkbox-demo.tsx
"use client" import { Checkbox } from "@/registry/default/ui/checkbox" export 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-allowed 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/internal/sink/components/avatar-demo.tsx
deprecated/www/registry/default/internal/sink/components/avatar-demo.tsx
import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/default/ui/avatar" export 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/internal/sink/components/badge-demo.tsx
deprecated/www/registry/default/internal/sink/components/badge-demo.tsx
import { Badge } from "@/registry/default/ui/badge" export 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/internal/sink/components/toast-demo.tsx
deprecated/www/registry/default/internal/sink/components/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 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/internal/sink/components/resizable-handle.tsx
deprecated/www/registry/default/internal/sink/components/resizable-handle.tsx
import { ResizableHandle, ResizablePanel, ResizablePanelGroup, } from "@/registry/default/ui/resizable" export function ResizableHandleDemo() { return ( <ResizablePanelGroup direction="horizontal" 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/internal/sink/components/label-demo.tsx
deprecated/www/registry/default/internal/sink/components/label-demo.tsx
import { Checkbox } from "@/registry/default/ui/checkbox" import { Label } from "@/registry/default/ui/label" export 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/chart-bar-demo-legend.tsx
deprecated/www/registry/default/examples/chart-bar-demo-legend.tsx
"use client" import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" import { ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartTooltip, ChartTooltipContent, } from "@/registry/default/ui/chart" const chartData = [ { month: "January", desktop: 186, mobile: 80 }, { month: "Febr...
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-dropdown.tsx
deprecated/www/registry/default/examples/breadcrumb-dropdown.tsx
import { ChevronDown, Slash } from "lucide-react" import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/registry/default/ui/breadcrumb" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "@/registry...
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-with-text.tsx
deprecated/www/registry/default/examples/checkbox-with-text.tsx
"use client" import { Checkbox } from "@/registry/default/ui/checkbox" export default function CheckboxWithText() { return ( <div className="items-top flex space-x-2"> <Checkbox id="terms1" /> <div className="grid gap-1.5 leading-none"> <label htmlFor="terms1" 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/examples/typography-h1.tsx
deprecated/www/registry/default/examples/typography-h1.tsx
export default function TypographyH1() { return ( <h1 className="scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl"> Taxing Laughter: The Joke Tax Chronicles </h1> ) }
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-h2.tsx
deprecated/www/registry/default/examples/typography-h2.tsx
export default function TypographyH2() { return ( <h2 className="scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight first:mt-0"> The People of the Kingdom </h2> ) }
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-demo.tsx
deprecated/www/registry/default/examples/input-demo.tsx
import { Input } from "@/registry/default/ui/input" export default function InputDemo() { return <Input type="email" placeholder="Email" /> }
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/sonner-demo.tsx
deprecated/www/registry/default/examples/sonner-demo.tsx
"use client" import { toast } from "sonner" import { Button } from "@/registry/default/ui/button" export default function SonnerDemo() { return ( <Button variant="outline" onClick={() => toast("Event has been created", { description: "Sunday, December 03, 2023 at 9:00 AM", ...
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/dropdown-menu-checkboxes.tsx
deprecated/www/registry/default/examples/dropdown-menu-checkboxes.tsx
"use client" import * as React from "react" import { DropdownMenuCheckboxItemProps } from "@radix-ui/react-dropdown-menu" import { Button } from "@/registry/default/ui/button" import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigge...
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-with-action.tsx
deprecated/www/registry/default/examples/toast-with-action.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 ToastWithAction() { const { toast } = useToast() return ( <Button variant="outline" on...
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-destructive.tsx
deprecated/www/registry/default/examples/button-destructive.tsx
import { Button } from "@/registry/default/ui/button" export default function ButtonDestructive() { return <Button variant="destructive">Destructive</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-size.tsx
deprecated/www/registry/default/examples/carousel-size.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 CarouselSize() { return ( <Carousel opts={{ alig...
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-popover.tsx
deprecated/www/registry/default/examples/combobox-popover.tsx
"use client" import * as React from "react" import { ArrowUpCircle, CheckCircle2, Circle, HelpCircle, LucideIcon, XCircle, } from "lucide-react" import { cn } from "@/lib/utils" import { Button } from "@/registry/default/ui/button" import { Command, CommandEmpty, CommandGroup, CommandInput, Comm...
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-disabled.tsx
deprecated/www/registry/default/examples/input-disabled.tsx
import { Input } from "@/registry/default/ui/input" export default function InputDisabled() { return <Input disabled type="email" placeholder="Email" /> }
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/data-table-demo.tsx
deprecated/www/registry/default/examples/data-table-demo.tsx
"use client" import * as React from "react" import { ColumnDef, ColumnFiltersState, SortingState, VisibilityState, flexRender, getCoreRowModel, getFilteredRowModel, getPaginationRowModel, getSortedRowModel, useReactTable, } from "@tanstack/react-table" import { ArrowUpDown, ChevronDown, MoreHorizon...
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-outline.tsx
deprecated/www/registry/default/examples/toggle-group-outline.tsx
import { Bold, Italic, Underline } from "lucide-react" import { ToggleGroup, ToggleGroupItem, } from "@/registry/default/ui/toggle-group" export default function ToggleGroupDemo() { return ( <ToggleGroup variant="outline" type="multiple"> <ToggleGroupItem value="bold" aria-label="Toggle 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/badge-destructive.tsx
deprecated/www/registry/default/examples/badge-destructive.tsx
import { Badge } from "@/registry/default/ui/badge" export default function BadgeDestructive() { return <Badge variant="destructive">Destructive</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/breadcrumb-responsive.tsx
deprecated/www/registry/default/examples/breadcrumb-responsive.tsx
"use client" import * as React from "react" import Link from "next/link" import { useMediaQuery } from "@/hooks/use-media-query" import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/registry/default/ui/breadcrumb" 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/examples/progress-demo.tsx
deprecated/www/registry/default/examples/progress-demo.tsx
"use client" import * as React from "react" import { Progress } from "@/registry/default/ui/progress" export default function ProgressDemo() { const [progress, setProgress] = React.useState(13) React.useEffect(() => { const timer = setTimeout(() => setProgress(66), 500) return () => clearTimeout(timer) ...
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/mode-toggle.tsx
deprecated/www/registry/default/examples/mode-toggle.tsx
"use client" import * as React from "react" import { Moon, Sun } from "lucide-react" import { useTheme } from "next-themes" import { Button } from "@/registry/default/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "@/registry/default/ui/dropdown-menu" exp...
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-file.tsx
deprecated/www/registry/default/examples/input-file.tsx
import { Input } from "@/registry/default/ui/input" import { Label } from "@/registry/default/ui/label" export default function InputFile() { return ( <div className="grid w-full max-w-sm items-center gap-1.5"> <Label htmlFor="picture">Picture</Label> <Input id="picture" type="file" /> </div> )...
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-single.tsx
deprecated/www/registry/default/examples/toggle-group-single.tsx
import { Bold, Italic, Underline } from "lucide-react" import { ToggleGroup, ToggleGroupItem, } from "@/registry/default/ui/toggle-group" export default function ToggleGroupDemo() { return ( <ToggleGroup type="single"> <ToggleGroupItem value="bold" aria-label="Toggle bold"> <Bold className="h-...
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-outline.tsx
deprecated/www/registry/default/examples/button-outline.tsx
import { Button } from "@/registry/default/ui/button" export default function ButtonOutline() { return <Button variant="outline">Outline</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-h3.tsx
deprecated/www/registry/default/examples/typography-h3.tsx
export default function TypographyH3() { return ( <h3 className="scroll-m-20 text-2xl font-semibold tracking-tight"> The Joke Tax </h3> ) }
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-demo.tsx
deprecated/www/registry/default/examples/skeleton-demo.tsx
import { Skeleton } from "@/registry/default/ui/skeleton" export default function SkeletonDemo() { return ( <div className="flex items-center space-x-4"> <Skeleton className="h-12 w-12 rounded-full" /> <div className="space-y-2"> <Skeleton className="h-4 w-[250px]" /> <Skeleton 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/examples/button-as-child.tsx
deprecated/www/registry/default/examples/button-as-child.tsx
import Link from "next/link" import { Button } from "@/registry/default/ui/button" export default function ButtonAsChild() { return ( <Button asChild> <Link href="/login">Login</Link> </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-secondary.tsx
deprecated/www/registry/default/examples/badge-secondary.tsx
import { Badge } from "@/registry/default/ui/badge" export default function BadgeSecondary() { return <Badge variant="secondary">Secondary</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/textarea-with-label.tsx
deprecated/www/registry/default/examples/textarea-with-label.tsx
import { Label } from "@/registry/default/ui/label" import { Textarea } from "@/registry/default/ui/textarea" export default function TextareaWithLabel() { return ( <div className="grid w-full gap-1.5"> <Label htmlFor="message">Your message</Label> <Textarea placeholder="Type your message here." id="...
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-inline-code.tsx
deprecated/www/registry/default/examples/typography-inline-code.tsx
export default function TypographyInlineCode() { return ( <code className="relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold"> @radix-ui/react-alert-dialog </code> ) }
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/pagination-demo.tsx
deprecated/www/registry/default/examples/pagination-demo.tsx
import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, } from "@/registry/default/ui/pagination" export default function PaginationDemo() { return ( <Pagination> <PaginationContent> <PaginationItem> <Pa...
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-with-text.tsx
deprecated/www/registry/default/examples/toggle-with-text.tsx
import { Italic } from "lucide-react" import { Toggle } from "@/registry/default/ui/toggle" export default function ToggleWithText() { return ( <Toggle aria-label="Toggle italic"> <Italic /> Italic </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/breadcrumb-link.tsx
deprecated/www/registry/default/examples/breadcrumb-link.tsx
import Link from "next/link" import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/registry/default/ui/breadcrumb" export default function BreadcrumbWithCustomSeparator() { return ( <Breadcrumb> <BreadcrumbList> <BreadcrumbI...
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-pattern.tsx
deprecated/www/registry/default/examples/input-otp-pattern.tsx
import { REGEXP_ONLY_DIGITS_AND_CHARS } from "input-otp" import { InputOTP, InputOTPGroup, InputOTPSlot, } from "@/registry/default/ui/input-otp" export default function InputOTPPattern() { return ( <InputOTP maxLength={6} pattern={REGEXP_ONLY_DIGITS_AND_CHARS}> <InputOTPGroup> <InputOTPSlot...
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/popover-demo.tsx
deprecated/www/registry/default/examples/popover-demo.tsx
import { Button } from "@/registry/default/ui/button" import { Input } from "@/registry/default/ui/input" import { Label } from "@/registry/default/ui/label" import { Popover, PopoverContent, PopoverTrigger, } from "@/registry/default/ui/popover" export default function PopoverDemo() { return ( <Popover> ...
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-demo.tsx
deprecated/www/registry/default/examples/toggle-group-demo.tsx
import { Bold, Italic, Underline } from "lucide-react" import { ToggleGroup, ToggleGroupItem, } from "@/registry/default/ui/toggle-group" export default function ToggleGroupDemo() { return ( <ToggleGroup type="multiple"> <ToggleGroupItem value="bold" aria-label="Toggle bold"> <Bold 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/examples/toggle-disabled.tsx
deprecated/www/registry/default/examples/toggle-disabled.tsx
import { Underline } from "lucide-react" import { Toggle } from "@/registry/default/ui/toggle" export default function ToggleDisabled() { return ( <Toggle aria-label="Toggle underline" disabled> <Underline 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/drawer-dialog.tsx
deprecated/www/registry/default/examples/drawer-dialog.tsx
import * as React from "react" import { cn } from "@/lib/utils" import { useMediaQuery } from "@/hooks/use-media-query" import { Button } from "@/registry/default/ui/button" import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, } from "@/registry/default/ui/dialog" im...
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-large.tsx
deprecated/www/registry/default/examples/typography-large.tsx
export default function TypographyLarge() { return <div className="text-lg font-semibold">Are you absolutely sure?</div> }
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-link.tsx
deprecated/www/registry/default/examples/button-link.tsx
import { Button } from "@/registry/default/ui/button" export default function ButtonLink() { return <Button variant="link">Link</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/command-demo.tsx
deprecated/www/registry/default/examples/command-demo.tsx
import { Calculator, Calendar, CreditCard, Settings, Smile, User, } from "lucide-react" import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, } from "@/registry/default/ui/command" export default function CommandDemo() { ...
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/accordion-demo.tsx
deprecated/www/registry/default/examples/accordion-demo.tsx
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger, } from "@/registry/default/ui/accordion" export default function AccordionDemo() { return ( <Accordion type="single" collapsible className="w-full"> <AccordionItem value="item-1"> <AccordionTrigger>Is it accessible?</Acc...
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-side.tsx
deprecated/www/registry/default/examples/sheet-side.tsx
"use client" 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/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/tooltip-demo.tsx
deprecated/www/registry/default/examples/tooltip-demo.tsx
import { Button } from "@/registry/default/ui/button" import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from "@/registry/default/ui/tooltip" export default function TooltipDemo() { return ( <TooltipProvider> <Tooltip> <TooltipTrigger asChild> <Button variant="ou...
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/textarea-disabled.tsx
deprecated/www/registry/default/examples/textarea-disabled.tsx
import { Textarea } from "@/registry/default/ui/textarea" export default function TextareaDisabled() { return <Textarea placeholder="Type your message here." disabled /> }
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-axis.tsx
deprecated/www/registry/default/examples/chart-bar-demo-axis.tsx
"use client" import { Bar, BarChart, CartesianGrid, XAxis } 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...
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-dropdown-menu.tsx
deprecated/www/registry/default/examples/combobox-dropdown-menu.tsx
"use client" import * as React from "react" import { Calendar, MoreHorizontal, Tags, Trash, User } from "lucide-react" import { Button } from "@/registry/default/ui/button" import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, } from "@/registry/default/ui/command" 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/examples/toast-simple.tsx
deprecated/www/registry/default/examples/toast-simple.tsx
"use client" import { useToast } from "@/registry/default/hooks/use-toast" import { Button } from "@/registry/default/ui/button" export default function ToastSimple() { const { toast } = useToast() return ( <Button variant="outline" onClick={() => { toast({ description: "Your me...
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-demo.tsx
deprecated/www/registry/default/examples/breadcrumb-demo.tsx
import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/registry/default/ui/breadcrumb" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "@/registry/default/ui/dropdown-menu" e...
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-lead.tsx
deprecated/www/registry/default/examples/typography-lead.tsx
export default function TypographyLead() { return ( <p className="text-xl text-muted-foreground"> A modal dialog that interrupts the user with important content and expects a response. </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/dialog-close-button.tsx
deprecated/www/registry/default/examples/dialog-close-button.tsx
import { Copy } from "lucide-react" import { Button } from "@/registry/default/ui/button" import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, } from "@/registry/default/ui/dialog" import { Input } from "@/registry/default/ui/input" imp...
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-p.tsx
deprecated/www/registry/default/examples/typography-p.tsx
export default function TypographyP() { return ( <p className="leading-7 [&:not(:first-child)]:mt-6"> The king, seeing how much happier his subjects were, realized the error of his ways and repealed the joke tax. </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/resizable-demo-with-handle.tsx
deprecated/www/registry/default/examples/resizable-demo-with-handle.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/carousel-api.tsx
deprecated/www/registry/default/examples/carousel-api.tsx
import * as React from "react" import { Card, CardContent } from "@/registry/default/ui/card" import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type CarouselApi, } from "@/registry/default/ui/carousel" export default function CarouselDApiDemo() { const [api, setApi] = Rea...
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-sm.tsx
deprecated/www/registry/default/examples/toggle-sm.tsx
import { Italic } from "lucide-react" import { Toggle } from "@/registry/default/ui/toggle" export default function ToggleSm() { return ( <Toggle size="sm" 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/navigation-menu-demo.tsx
deprecated/www/registry/default/examples/navigation-menu-demo.tsx
"use client" import * as React from "react" import Link from "next/link" import { cn } from "@/lib/utils" import { Icons } from "@/components/icons" import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, navigationMenuTriggerSty...
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-controlled.tsx
deprecated/www/registry/default/examples/input-otp-controlled.tsx
"use client" import * as React from "react" import { InputOTP, InputOTPGroup, InputOTPSlot, } from "@/registry/default/ui/input-otp" export default function InputOTPControlled() { const [value, setValue] = React.useState("") return ( <div className="space-y-2"> <InputOTP maxLength={6} ...
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/hover-card-demo.tsx
deprecated/www/registry/default/examples/hover-card-demo.tsx
import { CalendarDays } from "lucide-react" import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/default/ui/avatar" import { Button } from "@/registry/default/ui/button" import { HoverCard, HoverCardContent, HoverCardTrigger, } from "@/registry/default/ui/hover-card" export default function Ho...
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/tabs-demo.tsx
deprecated/www/registry/default/examples/tabs-demo.tsx
import { Button } from "@/registry/default/ui/button" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/default/ui/card" import { Input } from "@/registry/default/ui/input" import { Label } from "@/registry/default/ui/label" import { Tabs, TabsContent, ...
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/textarea-demo.tsx
deprecated/www/registry/default/examples/textarea-demo.tsx
import { Textarea } from "@/registry/default/ui/textarea" export default function TextareaDemo() { return <Textarea placeholder="Type your message here." /> }
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-grid.tsx
deprecated/www/registry/default/examples/chart-bar-demo-grid.tsx
"use client" import { Bar, BarChart, CartesianGrid } 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 }, {...
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/menubar-demo.tsx
deprecated/www/registry/default/examples/menubar-demo.tsx
import { Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, } from "@/registry/default/ui/menubar" export default function MenubarDemo...
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/textarea-with-button.tsx
deprecated/www/registry/default/examples/textarea-with-button.tsx
import { Button } from "@/registry/default/ui/button" import { Textarea } from "@/registry/default/ui/textarea" export default function TextareaWithButton() { return ( <div className="grid w-full gap-2"> <Textarea placeholder="Type your message here." /> <Button>Send message</Button> </div> ) }...
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-react-hook-form.tsx
deprecated/www/registry/default/examples/calendar-react-hook-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/input-otp-separator.tsx
deprecated/www/registry/default/examples/input-otp-separator.tsx
import React from "react" import { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, } from "@/registry/default/ui/input-otp" export default function InputOTPWithSeparator() { return ( <InputOTP maxLength={6}> <InputOTPGroup> <InputOTPSlot index={0} /> <InputOTPSlot index={...
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-sm.tsx
deprecated/www/registry/default/examples/toggle-group-sm.tsx
import { Bold, Italic, Underline } from "lucide-react" import { ToggleGroup, ToggleGroupItem, } from "@/registry/default/ui/toggle-group" export default function ToggleGroupDemo() { return ( <ToggleGroup size={"sm"} 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/input-with-text.tsx
deprecated/www/registry/default/examples/input-with-text.tsx
import { Input } from "@/registry/default/ui/input" import { Label } from "@/registry/default/ui/label" export default function InputWithText() { return ( <div className="grid w-full max-w-sm items-center gap-1.5"> <Label htmlFor="email-2">Email</Label> <Input type="email" id="email-2" placeholder="E...
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/table-demo.tsx
deprecated/www/registry/default/examples/table-demo.tsx
import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, } from "@/registry/default/ui/table" const invoices = [ { invoice: "INV001", paymentStatus: "Paid", totalAmount: "$250.00", paymentMethod: "Credit Card", }, { invoice: "INV002", ...
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-with-form.tsx
deprecated/www/registry/default/examples/card-with-form.tsx
import * as React from "react" import { Button } from "@/registry/default/ui/button" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/default/ui/card" import { Input } from "@/registry/default/ui/input" import { Label } from "@/registry/default/ui/label" im...
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/textarea-with-text.tsx
deprecated/www/registry/default/examples/textarea-with-text.tsx
import { Label } from "@/registry/default/ui/label" import { Textarea } from "@/registry/default/ui/textarea" export default function TextareaWithText() { return ( <div className="grid w-full gap-1.5"> <Label htmlFor="message-2">Your Message</Label> <Textarea placeholder="Type your message here." id=...
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-ellipsis.tsx
deprecated/www/registry/default/examples/breadcrumb-ellipsis.tsx
import Link from "next/link" import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/registry/default/ui/breadcrumb" export default function BreadcrumbCollapsed() { return ( <Breadcrumb> <BreadcrumbList> ...
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-form.tsx
deprecated/www/registry/default/examples/combobox-form.tsx
"use client" import { zodResolver } from "@hookform/resolvers/zod" import { Check, ChevronsUpDown } 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 } from "@/registry/defau...
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-demo.tsx
deprecated/www/registry/default/examples/toggle-demo.tsx
import { Bold } from "lucide-react" import { Toggle } from "@/registry/default/ui/toggle" export default function ToggleDemo() { return ( <Toggle aria-label="Toggle bold"> <Bold 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/context-menu-demo.tsx
deprecated/www/registry/default/examples/context-menu-demo.tsx
import { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, } from "@/registry/def...
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/switch-demo.tsx
deprecated/www/registry/default/examples/switch-demo.tsx
import { Label } from "@/registry/default/ui/label" import { Switch } from "@/registry/default/ui/switch" export default function SwitchDemo() { return ( <div className="flex items-center space-x-2"> <Switch id="airplane-mode" /> <Label htmlFor="airplane-mode">Airplane Mode</Label> </div> ) }
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/switch-form.tsx
deprecated/www/registry/default/examples/switch-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/drawer-demo.tsx
deprecated/www/registry/default/examples/drawer-demo.tsx
"use client" import * as React from "react" import { Minus, Plus } from "lucide-react" import { Bar, BarChart, ResponsiveContainer } from "recharts" import { Button } from "@/registry/default/ui/button" import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTit...
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-demo.tsx
deprecated/www/registry/default/examples/scroll-area-demo.tsx
import * as React from "react" import { ScrollArea } from "@/registry/default/ui/scroll-area" import { Separator } from "@/registry/default/ui/separator" const tags = Array.from({ length: 50 }).map( (_, i, a) => `v1.2.0-beta.${a.length - i}` ) export default function ScrollAreaDemo() { return ( <ScrollArea 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/toast-with-title.tsx
deprecated/www/registry/default/examples/toast-with-title.tsx
"use client" import { useToast } from "@/registry/default/hooks/use-toast" import { Button } from "@/registry/default/ui/button" export default function ToastWithTitle() { const { toast } = useToast() return ( <Button variant="outline" onClick={() => { toast({ title: "Uh oh! Som...
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-loading.tsx
deprecated/www/registry/default/examples/button-loading.tsx
import { Loader2 } from "lucide-react" import { Button } from "@/registry/default/ui/button" export default function ButtonLoading() { return ( <Button disabled> <Loader2 className="animate-spin" /> Please wait </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/aspect-ratio-demo.tsx
deprecated/www/registry/default/examples/aspect-ratio-demo.tsx
import Image from "next/image" import { AspectRatio } from "@/registry/default/ui/aspect-ratio" export default function AspectRatioDemo() { return ( <AspectRatio ratio={16 / 9} className="bg-muted"> <Image src="https://images.unsplash.com/photo-1588345921523-c2dcdb7f1dcd?w=800&dpr=2&q=80" ...
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/dropdown-menu-demo.tsx
deprecated/www/registry/default/examples/dropdown-menu-demo.tsx
import { Cloud, CreditCard, Github, Keyboard, LifeBuoy, LogOut, Mail, MessageSquare, Plus, PlusCircle, Settings, User, UserPlus, Users, } from "lucide-react" import { Button } from "@/registry/default/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, Dropdown...
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-scrollable.tsx
deprecated/www/registry/default/examples/select-scrollable.tsx
import * as React from "react" import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectTrigger, SelectValue, } from "@/registry/default/ui/select" export default function SelectScrollable() { return ( <Select> <SelectTrigger className="w-[280px]"> <SelectValue pla...
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-multiple.tsx
deprecated/www/registry/default/examples/checkbox-form-multiple.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 { Checkbox } from "@/registry/default/ui/checkbox" import { For...
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/dropdown-menu-radio-group.tsx
deprecated/www/registry/default/examples/dropdown-menu-radio-group.tsx
"use client" import * as React from "react" import { Button } from "@/registry/default/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, } from "@/registry/default/ui/dropdown-menu" 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/examples/typography-table.tsx
deprecated/www/registry/default/examples/typography-table.tsx
export default function TypographyTable() { return ( <div className="my-6 w-full overflow-y-auto"> <table className="w-full"> <thead> <tr className="m-0 border-t p-0 even:bg-muted"> <th className="border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right...
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-form.tsx
deprecated/www/registry/default/examples/input-otp-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/button-demo.tsx
deprecated/www/registry/default/examples/button-demo.tsx
import { Button } from "@/registry/default/ui/button" export default function ButtonDemo() { return <Button>Button</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/calendar-demo.tsx
deprecated/www/registry/default/examples/calendar-demo.tsx
"use client" import * as React from "react" import { Calendar } from "@/registry/default/ui/calendar" export default function CalendarDemo() { const [date, setDate] = React.useState<Date | undefined>(new Date()) return ( <Calendar mode="single" selected={date} onSelect={setDate} 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-demo.tsx
deprecated/www/registry/default/examples/alert-demo.tsx
import { Terminal } from "lucide-react" import { Alert, AlertDescription, AlertTitle, } from "@/registry/default/ui/alert" export default function AlertDemo() { return ( <Alert> <Terminal className="h-4 w-4" /> <AlertTitle>Heads up!</AlertTitle> <AlertDescription> You can add com...
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/textarea-form.tsx
deprecated/www/registry/default/examples/textarea-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/carousel-orientation.tsx
deprecated/www/registry/default/examples/carousel-orientation.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 CarouselOrientation() { return ( <Carousel opts={{ ...
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-form.tsx
deprecated/www/registry/default/examples/select-form.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 { Form, FormControl, FormDescr...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false