repo
stringlengths
7
64
file_url
stringlengths
81
338
file_path
stringlengths
5
257
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:25:31
2026-01-05 01:50:38
truncated
bool
2 classes
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/new-york-v4/ui/alert-dialog.tsx
apps/v4/registry/new-york-v4/ui/alert-dialog.tsx
"use client" import * as React from "react" import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog" import { cn } from "@/lib/utils" import { buttonVariants } from "@/registry/new-york-v4/ui/button" function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>) { return <...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/new-york-v4/ui/command.tsx
apps/v4/registry/new-york-v4/ui/command.tsx
"use client" import * as React from "react" import { Command as CommandPrimitive } from "cmdk" import { SearchIcon } from "lucide-react" import { cn } from "@/lib/utils" import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, } from "@/registry/new-york-v4/ui/dialog" function Command(...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/new-york-v4/ui/input-otp.tsx
apps/v4/registry/new-york-v4/ui/input-otp.tsx
"use client" import * as React from "react" import { OTPInput, OTPInputContext } from "input-otp" import { MinusIcon } from "lucide-react" import { cn } from "@/lib/utils" function InputOTP({ className, containerClassName, ...props }: React.ComponentProps<typeof OTPInput> & { containerClassName?: string }) {...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/new-york-v4/ui/input.tsx
apps/v4/registry/new-york-v4/ui/input.tsx
import * as React from "react" import { cn } from "@/lib/utils" function Input({ className, type, ...props }: React.ComponentProps<"input">) { return ( <input type={type} data-slot="input" className={cn( "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selec...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/new-york-v4/ui/combobox.tsx
apps/v4/registry/new-york-v4/ui/combobox.tsx
"use client" import * as React from "react" import { Combobox as ComboboxPrimitive } from "@base-ui/react" import { IconCheck, IconChevronDown, IconX } from "@tabler/icons-react" import { cn } from "@/lib/utils" import { Button } from "@/registry/new-york-v4/ui/button" import { InputGroup, InputGroupAddon, Inpu...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/new-york-v4/ui/checkbox.tsx
apps/v4/registry/new-york-v4/ui/checkbox.tsx
"use client" import * as React from "react" import * as CheckboxPrimitive from "@radix-ui/react-checkbox" import { CheckIcon } from "lucide-react" import { cn } from "@/lib/utils" function Checkbox({ className, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root>) { return ( <CheckboxPrimitive.R...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/new-york-v4/ui/input-group.tsx
apps/v4/registry/new-york-v4/ui/input-group.tsx
"use client" import * as React from "react" import { cva, type VariantProps } from "class-variance-authority" import { cn } from "@/lib/utils" import { Button } from "@/registry/new-york-v4/ui/button" import { Input } from "@/registry/new-york-v4/ui/input" import { Textarea } from "@/registry/new-york-v4/ui/textarea"...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/new-york-v4/ui/context-menu.tsx
apps/v4/registry/new-york-v4/ui/context-menu.tsx
"use client" import * as React from "react" import * as ContextMenuPrimitive from "@radix-ui/react-context-menu" import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react" import { cn } from "@/lib/utils" function ContextMenu({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Root>) { ret...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/registry/new-york-v4/ui/calendar.tsx
apps/v4/registry/new-york-v4/ui/calendar.tsx
"use client" import * as React from "react" import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, } from "lucide-react" import { DayPicker, getDefaultClassNames, type DayButton, } from "react-day-picker" import { cn } from "@/lib/utils" import { Button, buttonVariants } from "@/registry/new-york-v4...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/cli/tsup.config.ts
deprecated/cli/tsup.config.ts
import { defineConfig } from "tsup" export default defineConfig({ clean: true, dts: true, entry: ["src/index.ts"], format: ["esm", "cjs"], sourcemap: true, minify: true, target: "esnext", outDir: "dist", })
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/cli/src/index.ts
deprecated/cli/src/index.ts
#!/usr/bin/env node import chalk from "chalk" function getInvoker() { const args = process.argv.slice(2) const env = process.env const npmExecPath = env.npm_execpath || "" const packageName = "shadcn@latest" if (npmExecPath.includes("pnpm")) { return `pnpm dlx ${packageName}${args.length ? ` ${args.join...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/next-env.d.ts
deprecated/www/next-env.d.ts
/// <reference types="next" /> /// <reference types="next/image-types/global" /> /// <reference types="next/navigation-types/compat/navigation" /> // NOTE: This file should not be edited // see https://nextjs.org/docs/basic-features/typescript for more information.
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/layout.tsx
deprecated/www/app/layout.tsx
import "@/styles/globals.css" import { Metadata, Viewport } from "next" import { META_THEME_COLORS, siteConfig } from "@/config/site" import { fontMono, fontSans } from "@/lib/fonts" import { cn } from "@/lib/utils" import { Analytics } from "@/components/analytics" import { ThemeProvider } from "@/components/provider...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(internal)/sink/page.tsx
deprecated/www/app/(internal)/sink/page.tsx
import SinkPage from "@/registry/new-york/internal/sink/page" export default SinkPage
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(internal)/icons/layout.tsx
deprecated/www/app/(internal)/icons/layout.tsx
import { Metadata } from "next" import { Announcement } from "@/components/announcement" import { PageHeader, PageHeaderDescription, PageHeaderHeading, } from "@/components/page-header" export const metadata: Metadata = { title: "Icons", description: "All icons in all libraries.", } 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/app/(internal)/icons/page.tsx
deprecated/www/app/(internal)/icons/page.tsx
"use client" import * as React from "react" import { Icons } from "@/__registry__/icons" import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from "@/registry/new-york/ui/table" import { iconLibraries } from "@/registry/registry-icons" export default function IconsPage() { return (...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/layout.tsx
deprecated/www/app/(app)/layout.tsx
import { SiteFooter } from "@/components/site-footer" import { SiteHeader } from "@/components/site-header" interface AppLayoutProps { children: React.ReactNode } export default function AppLayout({ children }: AppLayoutProps) { return ( <div data-wrapper="" className="border-grid flex flex-1 flex-col"> ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/page.tsx
deprecated/www/app/(app)/page.tsx
import { Metadata } from "next" import Image from "next/image" import Link from "next/link" import { Announcement } from "@/components/announcement" import { CardsDemo } from "@/components/cards" import { ExamplesNav } from "@/components/examples-nav" import { PageActions, PageHeader, PageHeaderDescription, Pa...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/charts/layout.tsx
deprecated/www/app/(app)/charts/layout.tsx
import { Metadata } from "next" import Link from "next/link" import { Announcement } from "@/components/announcement" import { ChartsNav } from "@/components/charts-nav" import { PageActions, PageHeader, PageHeaderDescription, PageHeaderHeading, } from "@/components/page-header" import { Button } from "@/regis...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/charts/charts.tsx
deprecated/www/app/(app)/charts/charts.tsx
export { default as ChartAreaDefault } from "@/registry/new-york/charts/chart-area-default" export { default as ChartAreaLinear } from "@/registry/new-york/charts/chart-area-linear" export { default as ChartAreaStep } from "@/registry/new-york/charts/chart-area-step" export { default as ChartAreaLegend } from "@/regist...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/charts/page.tsx
deprecated/www/app/(app)/charts/page.tsx
import { THEMES } from "@/lib/themes" import { ChartDisplay } from "@/components/chart-display" import { ThemesSwitcher } from "@/components/themes-selector" import { ThemesStyle } from "@/components/themes-styles" import { Separator } from "@/registry/new-york/ui/separator" import * as Charts from "@/app/(app)/charts/...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/blocks/layout.tsx
deprecated/www/app/(app)/blocks/layout.tsx
import { Metadata } from "next" import { Announcement } from "@/components/announcement" import { BlocksNav } from "@/components/blocks-nav" import { PageActions, PageHeader, PageHeaderDescription, PageHeaderHeading, } from "@/components/page-header" import { Button } from "@/registry/new-york/ui/button" impo...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/blocks/page.tsx
deprecated/www/app/(app)/blocks/page.tsx
import Link from "next/link" import { BlockDisplay } from "@/components/block-display" import { Button } from "@/registry/new-york/ui/button" const FEATURED_BLOCKS = [ "dashboard-01", "sidebar-07", "sidebar-03", "login-03", "login-04", ] export default async function BlocksPage() { return ( <div> ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/blocks/[...categories]/page.tsx
deprecated/www/app/(app)/blocks/[...categories]/page.tsx
import { getAllBlockIds } from "@/lib/blocks" import { BlockDisplay } from "@/components/block-display" import { registryCategories } from "@/registry/registry-categories" export const dynamicParams = false export async function generateStaticParams() { return registryCategories.map((category) => ({ categories:...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/docs/layout.tsx
deprecated/www/app/(app)/docs/layout.tsx
import { docsConfig } from "@/config/docs" import { DocsNav } from "@/components/docs-nav" export default function DocsLayout({ children, }: { children: React.ReactNode }) { return ( <div className="container-wrapper"> <div className="container flex-1 items-start md:grid md:grid-cols-[220px_minmax(0,1f...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/docs/[[...slug]]/page.tsx
deprecated/www/app/(app)/docs/[[...slug]]/page.tsx
import { notFound } from "next/navigation" import { allDocs } from "contentlayer/generated" import "@/styles/mdx.css" import type { Metadata } from "next" import Link from "next/link" import { ChevronRight, ExternalLink } from "lucide-react" import Balancer from "react-wrap-balancer" import { getTableOfContents } fro...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/og/route.tsx
deprecated/www/app/(app)/og/route.tsx
import { ImageResponse } from "next/og" async function loadAssets(): Promise< { name: string; data: Buffer; weight: 400 | 600; style: "normal" }[] > { const [ { base64Font: normal }, { base64Font: mono }, { base64Font: semibold }, ] = await Promise.all([ import("./geist-regular-otf.json").then((m...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/layout.tsx
deprecated/www/app/(app)/examples/layout.tsx
import { Metadata } from "next" import Link from "next/link" import { Announcement } from "@/components/announcement" import { ExamplesNav } from "@/components/examples-nav" import { PageActions, PageHeader, PageHeaderDescription, PageHeaderHeading, } from "@/components/page-header" import { Button } from "@/r...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/tasks/page.tsx
deprecated/www/app/(app)/examples/tasks/page.tsx
import { promises as fs } from "fs" import path from "path" import { Metadata } from "next" import Image from "next/image" import { z } from "zod" import { columns } from "./components/columns" import { DataTable } from "./components/data-table" import { UserNav } from "./components/user-nav" import { taskSchema } fro...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/tasks/components/data-table-faceted-filter.tsx
deprecated/www/app/(app)/examples/tasks/components/data-table-faceted-filter.tsx
import * as React from "react" import { Column } from "@tanstack/react-table" import { Check, PlusCircle } from "lucide-react" import { cn } from "@/lib/utils" import { Badge } from "@/registry/new-york/ui/badge" import { Button } from "@/registry/new-york/ui/button" import { Command, CommandEmpty, CommandGroup,...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/tasks/components/data-table-toolbar.tsx
deprecated/www/app/(app)/examples/tasks/components/data-table-toolbar.tsx
"use client" import { Table } from "@tanstack/react-table" import { X } from "lucide-react" import { Button } from "@/registry/new-york/ui/button" import { Input } from "@/registry/new-york/ui/input" import { DataTableViewOptions } from "@/app/(app)/examples/tasks/components/data-table-view-options" import { priorit...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/tasks/components/data-table-row-actions.tsx
deprecated/www/app/(app)/examples/tasks/components/data-table-row-actions.tsx
"use client" import { Row } from "@tanstack/react-table" import { MoreHorizontal } from "lucide-react" import { Button } from "@/registry/new-york/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuSh...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/tasks/components/data-table.tsx
deprecated/www/app/(app)/examples/tasks/components/data-table.tsx
"use client" import * as React from "react" import { ColumnDef, ColumnFiltersState, SortingState, VisibilityState, flexRender, getCoreRowModel, getFacetedRowModel, getFacetedUniqueValues, getFilteredRowModel, getPaginationRowModel, getSortedRowModel, useReactTable, } from "@tanstack/react-table...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/tasks/components/user-nav.tsx
deprecated/www/app/(app)/examples/tasks/components/user-nav.tsx
import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/new-york/ui/avatar" import { Button } from "@/registry/new-york/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuT...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/tasks/components/columns.tsx
deprecated/www/app/(app)/examples/tasks/components/columns.tsx
"use client" import { ColumnDef } from "@tanstack/react-table" import { Badge } from "@/registry/new-york/ui/badge" import { Checkbox } from "@/registry/new-york/ui/checkbox" import { labels, priorities, statuses } from "../data/data" import { Task } from "../data/schema" import { DataTableColumnHeader } from "./dat...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/tasks/components/data-table-column-header.tsx
deprecated/www/app/(app)/examples/tasks/components/data-table-column-header.tsx
import { Column } from "@tanstack/react-table" import { ArrowDown, ArrowUp, ChevronsUpDown, EyeOff } from "lucide-react" import { cn } from "@/lib/utils" import { Button } from "@/registry/new-york/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTri...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/tasks/components/data-table-view-options.tsx
deprecated/www/app/(app)/examples/tasks/components/data-table-view-options.tsx
"use client" import { DropdownMenuTrigger } from "@radix-ui/react-dropdown-menu" import { Table } from "@tanstack/react-table" import { Settings2 } from "lucide-react" import { Button } from "@/registry/new-york/ui/button" import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuLabel...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/tasks/components/data-table-pagination.tsx
deprecated/www/app/(app)/examples/tasks/components/data-table-pagination.tsx
import { Table } from "@tanstack/react-table" import { ChevronLeft, ChevronRight, ChevronsLeft, ChevronsRight, } from "lucide-react" import { Button } from "@/registry/new-york/ui/button" import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@/registry/new-york/ui/select" i...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/tasks/data/seed.ts
deprecated/www/app/(app)/examples/tasks/data/seed.ts
import fs from "fs" import path from "path" import { faker } from "@faker-js/faker" import { labels, priorities, statuses } from "./data" const tasks = Array.from({ length: 100 }, () => ({ id: `TASK-${faker.number.int({ min: 1000, max: 9999 })}`, title: faker.hacker.phrase().replace(/^./, (letter) => letter.toUpp...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/tasks/data/schema.ts
deprecated/www/app/(app)/examples/tasks/data/schema.ts
import { z } from "zod" // We're keeping a simple non-relational schema here. // IRL, you will have a schema for your data models. export const taskSchema = z.object({ id: z.string(), title: z.string(), status: z.string(), label: z.string(), priority: z.string(), }) export type Task = z.infer<typeof taskSch...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/tasks/data/data.tsx
deprecated/www/app/(app)/examples/tasks/data/data.tsx
import { ArrowDown, ArrowRight, ArrowUp, CheckCircle, Circle, CircleOff, HelpCircle, Timer, } from "lucide-react" export const labels = [ { value: "bug", label: "Bug", }, { value: "feature", label: "Feature", }, { value: "documentation", label: "Documentation", }, ] ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/music/page.tsx
deprecated/www/app/(app)/examples/music/page.tsx
import { Metadata } from "next" import Image from "next/image" import { PlusCircle } from "lucide-react" import { Button } from "@/registry/new-york/ui/button" import { ScrollArea, ScrollBar } from "@/registry/new-york/ui/scroll-area" import { Separator } from "@/registry/new-york/ui/separator" import { Tabs, Tabs...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/music/components/album-artwork.tsx
deprecated/www/app/(app)/examples/music/components/album-artwork.tsx
import Image from "next/image" import { PlusCircle } from "lucide-react" import { cn } from "@/lib/utils" import { ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, } from "@/registry/new-york/ui/con...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/music/components/sidebar.tsx
deprecated/www/app/(app)/examples/music/components/sidebar.tsx
import { cn } from "@/lib/utils" import { Button } from "@/registry/new-york/ui/button" import { ScrollArea } from "@/registry/new-york/ui/scroll-area" import { Playlist } from "../data/playlists" interface SidebarProps extends React.HTMLAttributes<HTMLDivElement> { playlists: Playlist[] } export function Sidebar(...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/music/components/menu.tsx
deprecated/www/app/(app)/examples/music/components/menu.tsx
import { Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, } from "@/registry/new-york/ui/menubar" export function Me...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/music/components/podcast-empty-placeholder.tsx
deprecated/www/app/(app)/examples/music/components/podcast-empty-placeholder.tsx
import { Button } from "@/registry/new-york/ui/button" import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, } from "@/registry/new-york/ui/dialog" 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/app/(app)/examples/music/data/albums.ts
deprecated/www/app/(app)/examples/music/data/albums.ts
export interface Album { name: string artist: string cover: string } export const listenNowAlbums: Album[] = [ { name: "React Rendezvous", artist: "Ethan Byte", cover: "https://images.unsplash.com/photo-1611348586804-61bf6c080437?w=300&dpr=2&q=80", }, { name: "Async Awakenings", a...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/music/data/playlists.ts
deprecated/www/app/(app)/examples/music/data/playlists.ts
export type Playlist = (typeof playlists)[number] export const playlists = [ "Recently Added", "Recently Played", "Top Songs", "Top Albums", "Top Artists", "Logic Discography", "Bedtime Beats", "Feeling Happy", "I miss Y2K Pop", "Runtober", "Mellow Days", "Eminem Essentials", ]
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/mail/data.tsx
deprecated/www/app/(app)/examples/mail/data.tsx
export const mails = [ { id: "6c84fb90-12c4-11e1-840d-7b25c5ee775a", name: "William Smith", email: "williamsmith@example.com", subject: "Meeting Tomorrow", text: "Hi, let's have a meeting tomorrow to discuss the project. I've been reviewing the project details and have some ideas I'd like to share...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/mail/page.tsx
deprecated/www/app/(app)/examples/mail/page.tsx
import { cookies } from "next/headers" import Image from "next/image" import { Mail } from "@/app/(app)/examples/mail/components/mail" import { accounts, mails } from "@/app/(app)/examples/mail/data" export default function MailPage() { const layout = cookies().get("react-resizable-panels:layout:mail") const coll...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/mail/use-mail.ts
deprecated/www/app/(app)/examples/mail/use-mail.ts
import { atom, useAtom } from "jotai" import { Mail, mails } from "@/app/(app)/examples/mail/data" type Config = { selected: Mail["id"] | null } const configAtom = atom<Config>({ selected: mails[0].id, }) export function useMail() { return useAtom(configAtom) }
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/mail/components/mail-list.tsx
deprecated/www/app/(app)/examples/mail/components/mail-list.tsx
import { ComponentProps } from "react" import formatDistanceToNow from "date-fns/formatDistanceToNow" import { cn } from "@/lib/utils" import { Badge } from "@/registry/new-york/ui/badge" import { ScrollArea } from "@/registry/new-york/ui/scroll-area" import { Separator } from "@/registry/new-york/ui/separator" import...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/mail/components/mail-display.tsx
deprecated/www/app/(app)/examples/mail/components/mail-display.tsx
import addDays from "date-fns/addDays" import addHours from "date-fns/addHours" import format from "date-fns/format" import nextSaturday from "date-fns/nextSaturday" import { Archive, ArchiveX, Clock, Forward, MoreVertical, Reply, ReplyAll, Trash2, } from "lucide-react" import { DropdownMenuContent, ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/mail/components/nav.tsx
deprecated/www/app/(app)/examples/mail/components/nav.tsx
"use client" import Link from "next/link" import { LucideIcon } from "lucide-react" import { cn } from "@/lib/utils" import { buttonVariants } from "@/registry/default/ui/button" import { Tooltip, TooltipContent, TooltipTrigger, } from "@/registry/new-york/ui/tooltip" interface NavProps { isCollapsed: boolea...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/mail/components/mail.tsx
deprecated/www/app/(app)/examples/mail/components/mail.tsx
"use client" import * as React from "react" import { AlertCircle, Archive, ArchiveX, File, Inbox, MessagesSquare, Search, Send, ShoppingCart, Trash2, Users2, } from "lucide-react" import { cn } from "@/lib/utils" import { Input } from "@/registry/new-york/ui/input" import { ResizableHandle, ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/mail/components/account-switcher.tsx
deprecated/www/app/(app)/examples/mail/components/account-switcher.tsx
"use client" import * as React from "react" import { cn } from "@/lib/utils" import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@/registry/new-york/ui/select" interface AccountSwitcherProps { isCollapsed: boolean accounts: { label: string email: string icon: Rea...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/authentication/page.tsx
deprecated/www/app/(app)/examples/authentication/page.tsx
import { Metadata } from "next" import Image from "next/image" import Link from "next/link" import { cn } from "@/lib/utils" import { buttonVariants } from "@/registry/new-york/ui/button" import { UserAuthForm } from "@/app/(app)/examples/authentication/components/user-auth-form" export const metadata: Metadata = { ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/authentication/components/user-auth-form.tsx
deprecated/www/app/(app)/examples/authentication/components/user-auth-form.tsx
"use client" import * as React from "react" import { cn } from "@/lib/utils" import { Icons } from "@/components/icons" import { Button } from "@/registry/new-york/ui/button" import { Input } from "@/registry/new-york/ui/input" import { Label } from "@/registry/new-york/ui/label" interface UserAuthFormProps extends ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/cards/page.tsx
deprecated/www/app/(app)/examples/cards/page.tsx
import { Metadata } from "next" import Image from "next/image" import { cn } from "@/lib/utils" import { DemoCookieSettings } from "./components/cookie-settings" import { DemoCreateAccount } from "./components/create-account" import { DemoDatePicker } from "./components/date-picker" import { DemoGithub } from "./comp...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/cards/components/create-account.tsx
deprecated/www/app/(app)/examples/cards/components/create-account.tsx
"use client" import { Icons } from "@/components/icons" 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 "@/r...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/cards/components/notifications.tsx
deprecated/www/app/(app)/examples/cards/components/notifications.tsx
import { Bell, EyeOff, User } from "lucide-react" import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/registry/new-york/ui/card" export function DemoNotifications() { return ( <Card> <CardHeader className="pb-3"> <CardTitle>Notifications</CardTitle> <Car...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/cards/components/report-an-issue.tsx
deprecated/www/app/(app)/examples/cards/components/report-an-issue.tsx
"use client" 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 { Selec...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/cards/components/cookie-settings.tsx
deprecated/www/app/(app)/examples/cards/components/cookie-settings.tsx
"use client" import { Button } from "@/registry/new-york/ui/button" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/new-york/ui/card" import { Label } from "@/registry/new-york/ui/label" import { Switch } from "@/registry/new-york/ui/switch" export functi...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/cards/components/github-card.tsx
deprecated/www/app/(app)/examples/cards/components/github-card.tsx
import { ChevronDown, Circle, Plus, Star } from "lucide-react" import { Button } from "@/registry/new-york/ui/button" import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/registry/new-york/ui/card" import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, Dropdown...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/cards/components/share-document.tsx
deprecated/www/app/(app)/examples/cards/components/share-document.tsx
"use client" import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/new-york/ui/avatar" import { Button } from "@/registry/new-york/ui/button" import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/registry/new-york/ui/card" import { Input } from "@/registry/new-york/ui...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/cards/components/date-picker.tsx
deprecated/www/app/(app)/examples/cards/components/date-picker.tsx
import DatePickerWithRange from "@/registry/default/examples/date-picker-with-range" import { Card, CardContent } from "@/registry/new-york/ui/card" import { Label } from "@/registry/new-york/ui/label" export function DemoDatePicker() { return ( <Card> <CardContent className="pt-6"> <div className=...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/cards/components/payment-method.tsx
deprecated/www/app/(app)/examples/cards/components/payment-method.tsx
import { Icons } from "@/components/icons" 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-yo...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/cards/components/team-members.tsx
deprecated/www/app/(app)/examples/cards/components/team-members.tsx
import { ChevronDown } from "lucide-react" import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/new-york/ui/avatar" import { Button } from "@/registry/new-york/ui/button" import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/registry/new-york/ui/card" import { Comm...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/forms/layout.tsx
deprecated/www/app/(app)/examples/forms/layout.tsx
import { Metadata } from "next" import Image from "next/image" import { Separator } from "@/registry/new-york/ui/separator" import { SidebarNav } from "@/app/(app)/examples/forms/components/sidebar-nav" export const metadata: Metadata = { title: "Forms", description: "Advanced form example using react-hook-form a...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/forms/profile-form.tsx
deprecated/www/app/(app)/examples/forms/profile-form.tsx
"use client" import Link from "next/link" import { zodResolver } from "@hookform/resolvers/zod" import { useFieldArray, 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-york/ui/b...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/forms/page.tsx
deprecated/www/app/(app)/examples/forms/page.tsx
import { Separator } from "@/registry/new-york/ui/separator" import { ProfileForm } from "@/app/(app)/examples/forms/profile-form" export default function SettingsProfilePage() { return ( <div className="space-y-6"> <div> <h3 className="text-lg font-medium">Profile</h3> <p className="text-s...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/forms/display/display-form.tsx
deprecated/www/app/(app)/examples/forms/display/display-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 { 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/app/(app)/examples/forms/display/page.tsx
deprecated/www/app/(app)/examples/forms/display/page.tsx
import { Separator } from "@/registry/new-york/ui/separator" import { DisplayForm } from "@/app/(app)/examples/forms/display/display-form" export default function SettingsDisplayPage() { return ( <div className="space-y-6"> <div> <h3 className="text-lg font-medium">Display</h3> <p className...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/forms/components/sidebar-nav.tsx
deprecated/www/app/(app)/examples/forms/components/sidebar-nav.tsx
"use client" import Link from "next/link" import { usePathname } from "next/navigation" import { cn } from "@/lib/utils" import { buttonVariants } from "@/registry/new-york/ui/button" interface SidebarNavProps extends React.HTMLAttributes<HTMLElement> { items: { href: string title: string }[] } export f...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/forms/account/page.tsx
deprecated/www/app/(app)/examples/forms/account/page.tsx
import { Separator } from "@/registry/new-york/ui/separator" import { AccountForm } from "@/app/(app)/examples/forms/account/account-form" export default function SettingsAccountPage() { return ( <div className="space-y-6"> <div> <h3 className="text-lg font-medium">Account</h3> <p className...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/forms/account/account-form.tsx
deprecated/www/app/(app)/examples/forms/account/account-form.tsx
"use client" import { zodResolver } from "@hookform/resolvers/zod" import { format } from "date-fns" import { CalendarIcon, 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/us...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/forms/appearance/page.tsx
deprecated/www/app/(app)/examples/forms/appearance/page.tsx
import { Separator } from "@/registry/new-york/ui/separator" import { AppearanceForm } from "@/app/(app)/examples/forms/appearance/appearance-form" export default function SettingsAppearancePage() { return ( <div className="space-y-6"> <div> <h3 className="text-lg font-medium">Appearance</h3> ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/forms/appearance/appearance-form.tsx
deprecated/www/app/(app)/examples/forms/appearance/appearance-form.tsx
"use client" import { zodResolver } from "@hookform/resolvers/zod" import { ChevronDown } 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, buttonVariants } 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/app/(app)/examples/forms/notifications/page.tsx
deprecated/www/app/(app)/examples/forms/notifications/page.tsx
import { Separator } from "@/registry/new-york/ui/separator" import { NotificationsForm } from "@/app/(app)/examples/forms/notifications/notifications-form" export default function SettingsNotificationsPage() { return ( <div className="space-y-6"> <div> <h3 className="text-lg font-medium">Notificat...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/forms/notifications/notifications-form.tsx
deprecated/www/app/(app)/examples/forms/notifications/notifications-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/new-york/hooks/use-toast" import { Button } from "@/registry/new-york/ui/button" import { Checkbox } 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/app/(app)/examples/dashboard/page.tsx
deprecated/www/app/(app)/examples/dashboard/page.tsx
import { Metadata } from "next" import Image from "next/image" import { Button } from "@/registry/new-york/ui/button" import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/registry/new-york/ui/card" import { Tabs, TabsContent, TabsList, TabsTrigger, } from "@/registry/new-york...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/dashboard/components/overview.tsx
deprecated/www/app/(app)/examples/dashboard/components/overview.tsx
"use client" import { Bar, BarChart, ResponsiveContainer, XAxis, YAxis } from "recharts" const data = [ { name: "Jan", total: Math.floor(Math.random() * 5000) + 1000, }, { name: "Feb", total: Math.floor(Math.random() * 5000) + 1000, }, { name: "Mar", total: Math.floor(Math.random() *...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/dashboard/components/date-range-picker.tsx
deprecated/www/app/(app)/examples/dashboard/components/date-range-picker.tsx
"use client" import * as React from "react" import { addDays, format } from "date-fns" import { CalendarIcon } from "lucide-react" import { DateRange } from "react-day-picker" import { cn } from "@/lib/utils" import { Button } from "@/registry/new-york/ui/button" import { Calendar } from "@/registry/new-york/ui/calen...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/dashboard/components/main-nav.tsx
deprecated/www/app/(app)/examples/dashboard/components/main-nav.tsx
import Link from "next/link" import { cn } from "@/lib/utils" export function MainNav({ className, ...props }: React.HTMLAttributes<HTMLElement>) { return ( <nav className={cn("flex items-center space-x-4 lg:space-x-6", className)} {...props} > <Link href="/examples/dashboard" ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/dashboard/components/recent-sales.tsx
deprecated/www/app/(app)/examples/dashboard/components/recent-sales.tsx
import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/new-york/ui/avatar" export function RecentSales() { return ( <div className="space-y-8"> <div className="flex items-center"> <Avatar className="h-9 w-9"> <AvatarImage src="/avatars/01.png" alt="Avatar" /> <Av...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/dashboard/components/search.tsx
deprecated/www/app/(app)/examples/dashboard/components/search.tsx
import { Input } from "@/registry/new-york/ui/input" export function Search() { return ( <div> <Input type="search" placeholder="Search..." className="md:w-[100px] lg:w-[300px]" /> </div> ) }
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/dashboard/components/user-nav.tsx
deprecated/www/app/(app)/examples/dashboard/components/user-nav.tsx
import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/new-york/ui/avatar" import { Button } from "@/registry/new-york/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuT...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/dashboard/components/team-switcher.tsx
deprecated/www/app/(app)/examples/dashboard/components/team-switcher.tsx
"use client" import * as React from "react" import { Check, ChevronsUpDown, PlusCircle } from "lucide-react" import { cn } from "@/lib/utils" import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/new-york/ui/avatar" import { Button } from "@/registry/new-york/ui/button" import { Command, CommandE...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/playground/page.tsx
deprecated/www/app/(app)/examples/playground/page.tsx
import { Metadata } from "next" import Image from "next/image" import { RotateCcw } from "lucide-react" import { Button } from "@/registry/new-york/ui/button" import { HoverCard, HoverCardContent, HoverCardTrigger, } from "@/registry/new-york/ui/hover-card" import { Label } from "@/registry/new-york/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/app/(app)/examples/playground/components/temperature-selector.tsx
deprecated/www/app/(app)/examples/playground/components/temperature-selector.tsx
"use client" import * as React from "react" import { SliderProps } from "@radix-ui/react-slider" import { HoverCard, HoverCardContent, HoverCardTrigger, } from "@/registry/new-york/ui/hover-card" import { Label } from "@/registry/new-york/ui/label" import { Slider } from "@/registry/new-york/ui/slider" interfa...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/playground/components/preset-selector.tsx
deprecated/www/app/(app)/examples/playground/components/preset-selector.tsx
"use client" import * as React from "react" import { useRouter } from "next/navigation" import { PopoverProps } from "@radix-ui/react-popover" import { Check, ChevronsUpDown } from "lucide-react" import { cn } from "@/lib/utils" import { Button } from "@/registry/new-york/ui/button" import { Command, CommandEmpty...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/playground/components/maxlength-selector.tsx
deprecated/www/app/(app)/examples/playground/components/maxlength-selector.tsx
"use client" import * as React from "react" import { SliderProps } from "@radix-ui/react-slider" import { HoverCard, HoverCardContent, HoverCardTrigger, } from "@/registry/new-york/ui/hover-card" import { Label } from "@/registry/new-york/ui/label" import { Slider } from "@/registry/new-york/ui/slider" interfa...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/playground/components/preset-save.tsx
deprecated/www/app/(app)/examples/playground/components/preset-save.tsx
import { Button } from "@/registry/new-york/ui/button" import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, } from "@/registry/new-york/ui/dialog" 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/app/(app)/examples/playground/components/preset-share.tsx
deprecated/www/app/(app)/examples/playground/components/preset-share.tsx
import { Copy } from "lucide-react" 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 function PresetSha...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/playground/components/code-viewer.tsx
deprecated/www/app/(app)/examples/playground/components/code-viewer.tsx
import { Button } from "@/registry/new-york/ui/button" import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, } from "@/registry/new-york/ui/dialog" export function CodeViewer() { return ( <Dialog> <DialogTrigger asChild> <Button variant="secondary"...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/playground/components/top-p-selector.tsx
deprecated/www/app/(app)/examples/playground/components/top-p-selector.tsx
"use client" import * as React from "react" import { SliderProps } from "@radix-ui/react-slider" import { HoverCard, HoverCardContent, HoverCardTrigger, } from "@/registry/new-york/ui/hover-card" import { Label } from "@/registry/new-york/ui/label" import { Slider } from "@/registry/new-york/ui/slider" interfa...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/playground/components/preset-actions.tsx
deprecated/www/app/(app)/examples/playground/components/preset-actions.tsx
"use client" import * as React from "react" import { Dialog } from "@radix-ui/react-dialog" import { MoreHorizontal } from "lucide-react" import { toast } from "@/registry/new-york/hooks/use-toast" import { AlertDialog, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, Aler...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/playground/components/model-selector.tsx
deprecated/www/app/(app)/examples/playground/components/model-selector.tsx
"use client" import * as React from "react" import { PopoverProps } from "@radix-ui/react-popover" import { Check, ChevronsUpDown } from "lucide-react" import { cn } from "@/lib/utils" import { useMutationObserver } from "@/hooks/use-mutation-observer" import { Button } from "@/registry/new-york/ui/button" import { ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/playground/data/models.ts
deprecated/www/app/(app)/examples/playground/data/models.ts
export const types = ["GPT-3", "Codex"] as const export type ModelType = (typeof types)[number] export interface Model<Type = string> { id: string name: string description: string strengths?: string type: Type } export const models: Model<ModelType>[] = [ { id: "c305f976-8e38-42b1-9fb7-d21b2e34f0da",...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/deprecated/www/app/(app)/examples/playground/data/presets.ts
deprecated/www/app/(app)/examples/playground/data/presets.ts
export interface Preset { id: string name: string } export const presets: Preset[] = [ { id: "9cb0e66a-9937-465d-a188-2c4c4ae2401f", name: "Grammatical Standard English", }, { id: "61eb0e32-2391-4cd3-adc3-66efe09bc0b7", name: "Summarize for a 2nd grader", }, { id: "a4e1fa51-f4ce-4e45-...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false