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/new-york/internal/sink/components/button-ghost.tsx | deprecated/www/registry/new-york/internal/sink/components/button-ghost.tsx | import { Button } from "@/registry/new-york/ui/button"
export 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/new-york/internal/sink/components/nav-projects.tsx | deprecated/www/registry/new-york/internal/sink/components/nav-projects.tsx | "use client"
import {
Folder,
Forward,
MoreHorizontal,
Trash2,
type LucideIcon,
} from "lucide-react"
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuItem,
DropdownMenuSeparator,
DropdownMenuTrigger,
} from "@/registry/new-york/ui/dropdown-menu"
import {
SidebarGroup,
SidebarGroupLabel... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/internal/sink/components/badge-outline.tsx | deprecated/www/registry/new-york/internal/sink/components/badge-outline.tsx | import { Badge } from "@/registry/new-york/ui/badge"
export 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/new-york/internal/sink/components/carousel-demo.tsx | deprecated/www/registry/new-york/internal/sink/components/carousel-demo.tsx | import * as React from "react"
import { Card, CardContent } from "@/registry/new-york/ui/card"
import {
Carousel,
CarouselContent,
CarouselItem,
CarouselNext,
CarouselPrevious,
} from "@/registry/new-york/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/new-york/internal/sink/components/toggle-outline.tsx | deprecated/www/registry/new-york/internal/sink/components/toggle-outline.tsx | import { Italic } from "lucide-react"
import { Toggle } from "@/registry/new-york/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/new-york/internal/sink/components/team-switcher.tsx | deprecated/www/registry/new-york/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/new-york/ui/dropdown-menu"
import {
Side... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/internal/sink/components/checkbox-demo.tsx | deprecated/www/registry/new-york/internal/sink/components/checkbox-demo.tsx | "use client"
import { Checkbox } from "@/registry/new-york/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 ... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/internal/sink/components/avatar-demo.tsx | deprecated/www/registry/new-york/internal/sink/components/avatar-demo.tsx | import {
Avatar,
AvatarFallback,
AvatarImage,
} from "@/registry/new-york/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/new-york/internal/sink/components/badge-demo.tsx | deprecated/www/registry/new-york/internal/sink/components/badge-demo.tsx | import { Badge } from "@/registry/new-york/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/new-york/internal/sink/components/toast-demo.tsx | deprecated/www/registry/new-york/internal/sink/components/toast-demo.tsx | "use client"
import { useToast } from "@/registry/new-york/hooks/use-toast"
import { Button } from "@/registry/new-york/ui/button"
import { ToastAction } from "@/registry/new-york/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/new-york/internal/sink/components/resizable-handle.tsx | deprecated/www/registry/new-york/internal/sink/components/resizable-handle.tsx | import {
ResizableHandle,
ResizablePanel,
ResizablePanelGroup,
} from "@/registry/new-york/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/new-york/internal/sink/components/button-icon.tsx | deprecated/www/registry/new-york/internal/sink/components/button-icon.tsx | import { ChevronRight } from "lucide-react"
import { Button } from "@/registry/new-york/ui/button"
export 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/new-york/internal/sink/components/label-demo.tsx | deprecated/www/registry/new-york/internal/sink/components/label-demo.tsx | import { Checkbox } from "@/registry/new-york/ui/checkbox"
import { Label } from "@/registry/new-york/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/new-york/examples/chart-bar-demo-legend.tsx | deprecated/www/registry/new-york/examples/chart-bar-demo-legend.tsx | "use client"
import { Bar, BarChart, CartesianGrid, XAxis } from "recharts"
import {
ChartConfig,
ChartContainer,
ChartLegend,
ChartLegendContent,
ChartTooltip,
ChartTooltipContent,
} from "@/registry/new-york/ui/chart"
const chartData = [
{ month: "January", desktop: 186, mobile: 80 },
{ month: "Feb... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/breadcrumb-dropdown.tsx | deprecated/www/registry/new-york/examples/breadcrumb-dropdown.tsx | import { ChevronDown, Slash } from "lucide-react"
import {
Breadcrumb,
BreadcrumbItem,
BreadcrumbLink,
BreadcrumbList,
BreadcrumbPage,
BreadcrumbSeparator,
} from "@/registry/new-york/ui/breadcrumb"
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuItem,
DropdownMenuTrigger,
} from "@/registr... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/checkbox-with-text.tsx | deprecated/www/registry/new-york/examples/checkbox-with-text.tsx | "use client"
import { Checkbox } from "@/registry/new-york/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/new-york/examples/typography-h1.tsx | deprecated/www/registry/new-york/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/new-york/examples/typography-h2.tsx | deprecated/www/registry/new-york/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/new-york/examples/input-demo.tsx | deprecated/www/registry/new-york/examples/input-demo.tsx | import { Input } from "@/registry/new-york/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/new-york/examples/sonner-demo.tsx | deprecated/www/registry/new-york/examples/sonner-demo.tsx | "use client"
import { toast } from "sonner"
import { Button } from "@/registry/new-york/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/new-york/examples/dropdown-menu-checkboxes.tsx | deprecated/www/registry/new-york/examples/dropdown-menu-checkboxes.tsx | "use client"
import * as React from "react"
import { DropdownMenuCheckboxItemProps } from "@radix-ui/react-dropdown-menu"
import { Button } from "@/registry/new-york/ui/button"
import {
DropdownMenu,
DropdownMenuCheckboxItem,
DropdownMenuContent,
DropdownMenuLabel,
DropdownMenuSeparator,
DropdownMenuTrigg... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/toast-with-action.tsx | deprecated/www/registry/new-york/examples/toast-with-action.tsx | "use client"
import { useToast } from "@/registry/new-york/hooks/use-toast"
import { Button } from "@/registry/new-york/ui/button"
import { ToastAction } from "@/registry/new-york/ui/toast"
export default function ToastWithAction() {
const { toast } = useToast()
return (
<Button
variant="outline"
... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/button-destructive.tsx | deprecated/www/registry/new-york/examples/button-destructive.tsx | import { Button } from "@/registry/new-york/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/new-york/examples/carousel-size.tsx | deprecated/www/registry/new-york/examples/carousel-size.tsx | import * as React from "react"
import { Card, CardContent } from "@/registry/new-york/ui/card"
import {
Carousel,
CarouselContent,
CarouselItem,
CarouselNext,
CarouselPrevious,
} from "@/registry/new-york/ui/carousel"
export default function CarouselSize() {
return (
<Carousel
opts={{
al... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/combobox-popover.tsx | deprecated/www/registry/new-york/examples/combobox-popover.tsx | "use client"
import * as React from "react"
import { Button } from "@/registry/new-york/ui/button"
import {
Command,
CommandEmpty,
CommandGroup,
CommandInput,
CommandItem,
CommandList,
} from "@/registry/new-york/ui/command"
import {
Popover,
PopoverContent,
PopoverTrigger,
} from "@/registry/new-yo... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/input-disabled.tsx | deprecated/www/registry/new-york/examples/input-disabled.tsx | import { Input } from "@/registry/new-york/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/new-york/examples/data-table-demo.tsx | deprecated/www/registry/new-york/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/new-york/examples/toggle-group-outline.tsx | deprecated/www/registry/new-york/examples/toggle-group-outline.tsx | import { Bold, Italic, Underline } from "lucide-react"
import {
ToggleGroup,
ToggleGroupItem,
} from "@/registry/new-york/ui/toggle-group"
export default function ToggleGroupDemo() {
return (
<ToggleGroup type="multiple" variant="outline">
<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/new-york/examples/badge-destructive.tsx | deprecated/www/registry/new-york/examples/badge-destructive.tsx | import { Badge } from "@/registry/new-york/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/new-york/examples/breadcrumb-responsive.tsx | deprecated/www/registry/new-york/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/new-york/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/new-york/examples/progress-demo.tsx | deprecated/www/registry/new-york/examples/progress-demo.tsx | "use client"
import * as React from "react"
import { Progress } from "@/registry/new-york/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/new-york/examples/mode-toggle.tsx | deprecated/www/registry/new-york/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/new-york/ui/button"
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuItem,
DropdownMenuTrigger,
} from "@/registry/new-york/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/new-york/examples/input-file.tsx | deprecated/www/registry/new-york/examples/input-file.tsx | import { Input } from "@/registry/new-york/ui/input"
import { Label } from "@/registry/new-york/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/new-york/examples/toggle-group-single.tsx | deprecated/www/registry/new-york/examples/toggle-group-single.tsx | import { Bold, Italic, Underline } from "lucide-react"
import {
ToggleGroup,
ToggleGroupItem,
} from "@/registry/new-york/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/new-york/examples/button-outline.tsx | deprecated/www/registry/new-york/examples/button-outline.tsx | import { Button } from "@/registry/new-york/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/new-york/examples/typography-h3.tsx | deprecated/www/registry/new-york/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/new-york/examples/skeleton-demo.tsx | deprecated/www/registry/new-york/examples/skeleton-demo.tsx | import { Skeleton } from "@/registry/new-york/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 class... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/button-as-child.tsx | deprecated/www/registry/new-york/examples/button-as-child.tsx | import Link from "next/link"
import { Button } from "@/registry/new-york/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/new-york/examples/badge-secondary.tsx | deprecated/www/registry/new-york/examples/badge-secondary.tsx | import { Badge } from "@/registry/new-york/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/new-york/examples/textarea-with-label.tsx | deprecated/www/registry/new-york/examples/textarea-with-label.tsx | import { Label } from "@/registry/new-york/ui/label"
import { Textarea } from "@/registry/new-york/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/new-york/examples/typography-inline-code.tsx | deprecated/www/registry/new-york/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/new-york/examples/pagination-demo.tsx | deprecated/www/registry/new-york/examples/pagination-demo.tsx | import {
Pagination,
PaginationContent,
PaginationEllipsis,
PaginationItem,
PaginationLink,
PaginationNext,
PaginationPrevious,
} from "@/registry/new-york/ui/pagination"
export default function PaginationDemo() {
return (
<Pagination>
<PaginationContent>
<PaginationItem>
<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/new-york/examples/toggle-with-text.tsx | deprecated/www/registry/new-york/examples/toggle-with-text.tsx | import { Italic } from "lucide-react"
import { Toggle } from "@/registry/new-york/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/new-york/examples/breadcrumb-link.tsx | deprecated/www/registry/new-york/examples/breadcrumb-link.tsx | import Link from "next/link"
import {
Breadcrumb,
BreadcrumbItem,
BreadcrumbLink,
BreadcrumbList,
BreadcrumbPage,
BreadcrumbSeparator,
} from "@/registry/new-york/ui/breadcrumb"
export default function BreadcrumbWithCustomSeparator() {
return (
<Breadcrumb>
<BreadcrumbList>
<Breadcrumb... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/input-otp-pattern.tsx | deprecated/www/registry/new-york/examples/input-otp-pattern.tsx | import { REGEXP_ONLY_DIGITS_AND_CHARS } from "input-otp"
import {
InputOTP,
InputOTPGroup,
InputOTPSlot,
} from "@/registry/new-york/ui/input-otp"
export default function InputOTPPattern() {
return (
<InputOTP maxLength={6} pattern={REGEXP_ONLY_DIGITS_AND_CHARS}>
<InputOTPGroup>
<InputOTPSlo... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/popover-demo.tsx | deprecated/www/registry/new-york/examples/popover-demo.tsx | import { Button } from "@/registry/new-york/ui/button"
import { Input } from "@/registry/new-york/ui/input"
import { Label } from "@/registry/new-york/ui/label"
import {
Popover,
PopoverContent,
PopoverTrigger,
} from "@/registry/new-york/ui/popover"
export default function PopoverDemo() {
return (
<Popove... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/toggle-group-demo.tsx | deprecated/www/registry/new-york/examples/toggle-group-demo.tsx | import { Bold, Italic, Underline } from "lucide-react"
import {
ToggleGroup,
ToggleGroupItem,
} from "@/registry/new-york/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/new-york/examples/toggle-disabled.tsx | deprecated/www/registry/new-york/examples/toggle-disabled.tsx | import { Underline } from "lucide-react"
import { Toggle } from "@/registry/new-york/ui/toggle"
export default function ToggleDisabled() {
return (
<Toggle aria-label="Toggle italic" 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/new-york/examples/drawer-dialog.tsx | deprecated/www/registry/new-york/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/new-york/ui/button"
import {
Dialog,
DialogContent,
DialogDescription,
DialogHeader,
DialogTitle,
DialogTrigger,
} from "@/registry/new-york/ui/dialog"
... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/typography-large.tsx | deprecated/www/registry/new-york/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/new-york/examples/button-link.tsx | deprecated/www/registry/new-york/examples/button-link.tsx | import { Button } from "@/registry/new-york/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/new-york/examples/command-demo.tsx | deprecated/www/registry/new-york/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/new-york/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/new-york/examples/accordion-demo.tsx | deprecated/www/registry/new-york/examples/accordion-demo.tsx | import {
Accordion,
AccordionContent,
AccordionItem,
AccordionTrigger,
} from "@/registry/new-york/ui/accordion"
export default function AccordionDemo() {
return (
<Accordion type="single" collapsible className="w-full">
<AccordionItem value="item-1">
<AccordionTrigger>Is it accessible?</Ac... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/sheet-side.tsx | deprecated/www/registry/new-york/examples/sheet-side.tsx | "use client"
import { Button } from "@/registry/new-york/ui/button"
import { Input } from "@/registry/new-york/ui/input"
import { Label } from "@/registry/new-york/ui/label"
import {
Sheet,
SheetClose,
SheetContent,
SheetDescription,
SheetFooter,
SheetHeader,
SheetTitle,
SheetTrigger,
} from "@/registr... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/tooltip-demo.tsx | deprecated/www/registry/new-york/examples/tooltip-demo.tsx | import { Button } from "@/registry/new-york/ui/button"
import {
Tooltip,
TooltipContent,
TooltipProvider,
TooltipTrigger,
} from "@/registry/new-york/ui/tooltip"
export default function TooltipDemo() {
return (
<TooltipProvider>
<Tooltip>
<TooltipTrigger asChild>
<Button variant="... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/textarea-disabled.tsx | deprecated/www/registry/new-york/examples/textarea-disabled.tsx | import { Textarea } from "@/registry/new-york/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/new-york/examples/chart-bar-demo-axis.tsx | deprecated/www/registry/new-york/examples/chart-bar-demo-axis.tsx | "use client"
import { Bar, BarChart, CartesianGrid, XAxis } from "recharts"
import { ChartConfig, ChartContainer } from "@/registry/new-york/ui/chart"
const chartData = [
{ month: "January", desktop: 186, mobile: 80 },
{ month: "February", desktop: 305, mobile: 200 },
{ month: "March", desktop: 237, mobile: 12... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/combobox-dropdown-menu.tsx | deprecated/www/registry/new-york/examples/combobox-dropdown-menu.tsx | "use client"
import * as React from "react"
import { MoreHorizontal } from "lucide-react"
import { Button } from "@/registry/new-york/ui/button"
import {
Command,
CommandEmpty,
CommandGroup,
CommandInput,
CommandItem,
CommandList,
} from "@/registry/new-york/ui/command"
import {
DropdownMenu,
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/new-york/examples/toast-simple.tsx | deprecated/www/registry/new-york/examples/toast-simple.tsx | "use client"
import { useToast } from "@/registry/new-york/hooks/use-toast"
import { Button } from "@/registry/new-york/ui/button"
export default function ToastSimple() {
const { toast } = useToast()
return (
<Button
variant="outline"
onClick={() => {
toast({
description: "Your ... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/breadcrumb-demo.tsx | deprecated/www/registry/new-york/examples/breadcrumb-demo.tsx | import {
Breadcrumb,
BreadcrumbEllipsis,
BreadcrumbItem,
BreadcrumbLink,
BreadcrumbList,
BreadcrumbPage,
BreadcrumbSeparator,
} from "@/registry/new-york/ui/breadcrumb"
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuItem,
DropdownMenuTrigger,
} from "@/registry/new-york/ui/dropdown-menu"
... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/typography-lead.tsx | deprecated/www/registry/new-york/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/new-york/examples/dialog-close-button.tsx | deprecated/www/registry/new-york/examples/dialog-close-button.tsx | import { Copy } from "lucide-react"
import { Button } from "@/registry/new-york/ui/button"
import {
Dialog,
DialogClose,
DialogContent,
DialogDescription,
DialogFooter,
DialogHeader,
DialogTitle,
DialogTrigger,
} from "@/registry/new-york/ui/dialog"
import { Input } from "@/registry/new-york/ui/input"
... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/typography-p.tsx | deprecated/www/registry/new-york/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/new-york/examples/resizable-demo-with-handle.tsx | deprecated/www/registry/new-york/examples/resizable-demo-with-handle.tsx | import {
ResizableHandle,
ResizablePanel,
ResizablePanelGroup,
} from "@/registry/new-york/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/new-york/examples/carousel-api.tsx | deprecated/www/registry/new-york/examples/carousel-api.tsx | import * as React from "react"
import { Card, CardContent } from "@/registry/new-york/ui/card"
import {
Carousel,
CarouselContent,
CarouselItem,
CarouselNext,
CarouselPrevious,
type CarouselApi,
} from "@/registry/new-york/ui/carousel"
export default function CarouselDApiDemo() {
const [api, setApi] = 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/new-york/examples/toggle-sm.tsx | deprecated/www/registry/new-york/examples/toggle-sm.tsx | import { Italic } from "lucide-react"
import { Toggle } from "@/registry/new-york/ui/toggle"
export default function ToggleSm() {
return (
<Toggle size="sm" 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/new-york/examples/navigation-menu-demo.tsx | deprecated/www/registry/new-york/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/new-york/examples/input-otp-controlled.tsx | deprecated/www/registry/new-york/examples/input-otp-controlled.tsx | "use client"
import * as React from "react"
import {
InputOTP,
InputOTPGroup,
InputOTPSlot,
} from "@/registry/new-york/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/new-york/examples/hover-card-demo.tsx | deprecated/www/registry/new-york/examples/hover-card-demo.tsx | import { CalendarIcon } from "lucide-react"
import {
Avatar,
AvatarFallback,
AvatarImage,
} from "@/registry/new-york/ui/avatar"
import { Button } from "@/registry/new-york/ui/button"
import {
HoverCard,
HoverCardContent,
HoverCardTrigger,
} from "@/registry/new-york/ui/hover-card"
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/new-york/examples/tabs-demo.tsx | deprecated/www/registry/new-york/examples/tabs-demo.tsx | import { Button } from "@/registry/new-york/ui/button"
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/registry/new-york/ui/card"
import { Input } from "@/registry/new-york/ui/input"
import { Label } from "@/registry/new-york/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/new-york/examples/textarea-demo.tsx | deprecated/www/registry/new-york/examples/textarea-demo.tsx | import { Textarea } from "@/registry/new-york/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/new-york/examples/chart-bar-demo-grid.tsx | deprecated/www/registry/new-york/examples/chart-bar-demo-grid.tsx | "use client"
import { Bar, BarChart, CartesianGrid } from "recharts"
import { ChartConfig, ChartContainer } from "@/registry/new-york/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/new-york/examples/menubar-demo.tsx | deprecated/www/registry/new-york/examples/menubar-demo.tsx | import {
Menubar,
MenubarCheckboxItem,
MenubarContent,
MenubarItem,
MenubarMenu,
MenubarRadioGroup,
MenubarRadioItem,
MenubarSeparator,
MenubarShortcut,
MenubarSub,
MenubarSubContent,
MenubarSubTrigger,
MenubarTrigger,
} from "@/registry/new-york/ui/menubar"
export default function MenubarDem... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/textarea-with-button.tsx | deprecated/www/registry/new-york/examples/textarea-with-button.tsx | import { Button } from "@/registry/new-york/ui/button"
import { Textarea } from "@/registry/new-york/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/new-york/examples/input-otp-separator.tsx | deprecated/www/registry/new-york/examples/input-otp-separator.tsx | import React from "react"
import {
InputOTP,
InputOTPGroup,
InputOTPSeparator,
InputOTPSlot,
} from "@/registry/new-york/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/new-york/examples/toggle-group-sm.tsx | deprecated/www/registry/new-york/examples/toggle-group-sm.tsx | import { Bold, Italic, Underline } from "lucide-react"
import {
ToggleGroup,
ToggleGroupItem,
} from "@/registry/new-york/ui/toggle-group"
export default function ToggleGroupDemo() {
return (
<ToggleGroup type="single" size="sm">
<ToggleGroupItem value="bold" aria-label="Toggle bold">
<Bold 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/new-york/examples/input-with-text.tsx | deprecated/www/registry/new-york/examples/input-with-text.tsx | import { Input } from "@/registry/new-york/ui/input"
import { Label } from "@/registry/new-york/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=... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/table-demo.tsx | deprecated/www/registry/new-york/examples/table-demo.tsx | import {
Table,
TableBody,
TableCaption,
TableCell,
TableFooter,
TableHead,
TableHeader,
TableRow,
} from "@/registry/new-york/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/new-york/examples/card-with-form.tsx | deprecated/www/registry/new-york/examples/card-with-form.tsx | import * as React from "react"
import { Button } from "@/registry/new-york/ui/button"
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/registry/new-york/ui/card"
import { Input } from "@/registry/new-york/ui/input"
import { Label } from "@/registry/new-york/ui/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/new-york/examples/textarea-with-text.tsx | deprecated/www/registry/new-york/examples/textarea-with-text.tsx | import { Label } from "@/registry/new-york/ui/label"
import { Textarea } from "@/registry/new-york/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." i... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/breadcrumb-ellipsis.tsx | deprecated/www/registry/new-york/examples/breadcrumb-ellipsis.tsx | import Link from "next/link"
import {
Breadcrumb,
BreadcrumbEllipsis,
BreadcrumbItem,
BreadcrumbLink,
BreadcrumbList,
BreadcrumbPage,
BreadcrumbSeparator,
} from "@/registry/new-york/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/new-york/examples/combobox-form.tsx | deprecated/www/registry/new-york/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/new-york/hooks/use-toast"
import { Button } from "@/registry/new-... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/toggle-demo.tsx | deprecated/www/registry/new-york/examples/toggle-demo.tsx | import { Bold } from "lucide-react"
import { Toggle } from "@/registry/new-york/ui/toggle"
export default function ToggleDemo() {
return (
<Toggle aria-label="Toggle italic">
<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/new-york/examples/context-menu-demo.tsx | deprecated/www/registry/new-york/examples/context-menu-demo.tsx | import {
ContextMenu,
ContextMenuCheckboxItem,
ContextMenuContent,
ContextMenuItem,
ContextMenuLabel,
ContextMenuRadioGroup,
ContextMenuRadioItem,
ContextMenuSeparator,
ContextMenuShortcut,
ContextMenuSub,
ContextMenuSubContent,
ContextMenuSubTrigger,
ContextMenuTrigger,
} from "@/registry/new... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/switch-demo.tsx | deprecated/www/registry/new-york/examples/switch-demo.tsx | import { Label } from "@/registry/new-york/ui/label"
import { Switch } from "@/registry/new-york/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/new-york/examples/switch-form.tsx | deprecated/www/registry/new-york/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/new-york/hooks/use-toast"
import { Button } from "@/registry/new-york/ui/button"
import {
Form,
FormControl,
FormDescription,
FormField,
Form... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/drawer-demo.tsx | deprecated/www/registry/new-york/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/new-york/ui/button"
import {
Drawer,
DrawerClose,
DrawerContent,
DrawerDescription,
DrawerFooter,
DrawerHeader,
DrawerTi... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/scroll-area-demo.tsx | deprecated/www/registry/new-york/examples/scroll-area-demo.tsx | import * as React from "react"
import { ScrollArea } from "@/registry/new-york/ui/scroll-area"
import { Separator } from "@/registry/new-york/ui/separator"
const tags = Array.from({ length: 50 }).map(
(_, i, a) => `v1.2.0-beta.${a.length - i}`
)
export default function ScrollAreaDemo() {
return (
<ScrollArea... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/toast-with-title.tsx | deprecated/www/registry/new-york/examples/toast-with-title.tsx | "use client"
import { useToast } from "@/registry/new-york/hooks/use-toast"
import { Button } from "@/registry/new-york/ui/button"
export default function ToastWithTitle() {
const { toast } = useToast()
return (
<Button
variant="outline"
onClick={() => {
toast({
title: "Uh oh! 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/new-york/examples/button-loading.tsx | deprecated/www/registry/new-york/examples/button-loading.tsx | import { Loader2 } from "lucide-react"
import { Button } from "@/registry/new-york/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/new-york/examples/aspect-ratio-demo.tsx | deprecated/www/registry/new-york/examples/aspect-ratio-demo.tsx | import Image from "next/image"
import { AspectRatio } from "@/registry/new-york/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/new-york/examples/dropdown-menu-demo.tsx | deprecated/www/registry/new-york/examples/dropdown-menu-demo.tsx | import { Button } from "@/registry/new-york/ui/button"
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuGroup,
DropdownMenuItem,
DropdownMenuLabel,
DropdownMenuPortal,
DropdownMenuSeparator,
DropdownMenuShortcut,
DropdownMenuSub,
DropdownMenuSubContent,
DropdownMenuSubTrigger,
DropdownMen... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/select-scrollable.tsx | deprecated/www/registry/new-york/examples/select-scrollable.tsx | import * as React from "react"
import {
Select,
SelectContent,
SelectGroup,
SelectItem,
SelectLabel,
SelectTrigger,
SelectValue,
} from "@/registry/new-york/ui/select"
export default function SelectScrollable() {
return (
<Select>
<SelectTrigger className="w-[280px]">
<SelectValue pl... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/checkbox-form-multiple.tsx | deprecated/www/registry/new-york/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/new-york/hooks/use-toast"
import { Button } from "@/registry/new-york/ui/button"
import { Checkbox } from "@/registry/new-york/ui/checkbox"
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/new-york/examples/dropdown-menu-radio-group.tsx | deprecated/www/registry/new-york/examples/dropdown-menu-radio-group.tsx | "use client"
import * as React from "react"
import { Button } from "@/registry/new-york/ui/button"
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuLabel,
DropdownMenuRadioGroup,
DropdownMenuRadioItem,
DropdownMenuSeparator,
DropdownMenuTrigger,
} from "@/registry/new-york/ui/dropdown-menu"
expo... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/typography-table.tsx | deprecated/www/registry/new-york/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/new-york/examples/input-otp-form.tsx | deprecated/www/registry/new-york/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/new-york/hooks/use-toast"
import { Button } from "@/registry/new-york/ui/button"
import {
Form,
FormControl,
FormDescription,
FormField,
Form... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/button-demo.tsx | deprecated/www/registry/new-york/examples/button-demo.tsx | import { Button } from "@/registry/new-york/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/new-york/examples/calendar-demo.tsx | deprecated/www/registry/new-york/examples/calendar-demo.tsx | "use client"
import * as React from "react"
import { Calendar } from "@/registry/new-york/ui/calendar"
export default function CalendarDemo() {
const [date, setDate] = React.useState<Date | undefined>(new Date())
return (
<Calendar
mode="single"
selected={date}
onSelect={setDate}
cla... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
shadcn-ui/ui | https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/registry/new-york/examples/alert-demo.tsx | deprecated/www/registry/new-york/examples/alert-demo.tsx | import { Terminal } from "lucide-react"
import {
Alert,
AlertDescription,
AlertTitle,
} from "@/registry/new-york/ui/alert"
export default function AlertDemo() {
return (
<Alert>
<Terminal className="h-4 w-4" />
<AlertTitle>Heads up!</AlertTitle>
<AlertDescription>
You can add co... | typescript | MIT | ccafdaf7c6f6747a24f54e84436b42ec42f01779 | 2026-01-04T15:25:31.746168Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.