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/app/(examples)/dashboard-03/page.tsx
apps/v4/app/(examples)/dashboard-03/page.tsx
import { type Metadata } from "next" import { DownloadIcon, FilterIcon, TrendingDownIcon, TrendingUpIcon, } from "lucide-react" import { Badge } from "@/registry/new-york-v4/ui/badge" import { Button } from "@/registry/new-york-v4/ui/button" import { Card, CardDescription, CardFooter, CardHeader, Car...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard-03/settings/page.tsx
apps/v4/app/(examples)/dashboard-03/settings/page.tsx
import { type Metadata } from "next" import { cn } from "@/lib/utils" import { Button } from "@/registry/new-york-v4/ui/button" import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/new-york-v4/ui/card" import { Checkbox } 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/apps/v4/app/(examples)/dashboard-03/components/mode-toggle.tsx
apps/v4/app/(examples)/dashboard-03/components/mode-toggle.tsx
"use client" import * as React from "react" import { MoonIcon, SunIcon } from "lucide-react" import { useTheme } from "next-themes" import { Button } from "@/registry/new-york-v4/ui/button" export function ModeToggle() { const { setTheme, resolvedTheme } = useTheme() const toggleTheme = React.useCallback(() => ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard-03/components/app-sidebar.tsx
apps/v4/app/(examples)/dashboard-03/components/app-sidebar.tsx
"use client" import * as React from "react" import { ChartLineIcon, FileIcon, HomeIcon, LifeBuoy, Send, Settings2Icon, ShoppingBagIcon, ShoppingCartIcon, UserIcon, } from "lucide-react" import { Sidebar, SidebarContent } from "@/registry/new-york-v4/ui/sidebar" import { NavMain } from "@/app/(exampl...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard-03/components/analytics-date-picker.tsx
apps/v4/app/(examples)/dashboard-03/components/analytics-date-picker.tsx
"use client" import * as React from "react" import { addDays, format } from "date-fns" import { CalendarIcon } from "lucide-react" import { type DateRange } from "react-day-picker" import { cn } from "@/lib/utils" import { Button } from "@/registry/new-york-v4/ui/button" import { Calendar } 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/apps/v4/app/(examples)/dashboard-03/components/nav-user.tsx
apps/v4/app/(examples)/dashboard-03/components/nav-user.tsx
"use client" import { BadgeCheck, Bell, CreditCard, LogOut, Sparkles } from "lucide-react" import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/new-york-v4/ui/avatar" import { Button } from "@/registry/new-york-v4/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, Drop...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard-03/components/products-table.tsx
apps/v4/app/(examples)/dashboard-03/components/products-table.tsx
import { ArrowUpDownIcon, EllipsisVerticalIcon, ListFilterIcon, PlusIcon, } from "lucide-react" import { Badge } from "@/registry/new-york-v4/ui/badge" import { Button } from "@/registry/new-york-v4/ui/button" import { Card, CardContent, CardFooter, CardHeader, } from "@/registry/new-york-v4/ui/card" i...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard-03/components/chart-revenue.tsx
apps/v4/app/(examples)/dashboard-03/components/chart-revenue.tsx
"use client" import { TrendingUp } from "lucide-react" import { Bar, BarChart, CartesianGrid, XAxis, YAxis } from "recharts" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/new-york-v4/ui/card" import { ChartContainer, ChartTooltip, ChartTooltipCont...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard-03/components/site-header.tsx
apps/v4/app/(examples)/dashboard-03/components/site-header.tsx
"use client" import { Fragment, useMemo } from "react" import { usePathname } from "next/navigation" import { SidebarIcon } from "lucide-react" import { ThemeSelector } from "@/components/theme-selector" import { SearchForm } from "@/registry/new-york-v4/blocks/sidebar-16/components/search-form" import { Breadcrumb...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard-03/components/chart-visitors.tsx
apps/v4/app/(examples)/dashboard-03/components/chart-visitors.tsx
"use client" import * as React from "react" import { Label, Pie, PieChart, Sector } from "recharts" import { type PieSectorDataItem } from "recharts/types/polar/Pie" import { Card, CardAction, CardContent, CardDescription, CardHeader, CardTitle, } from "@/registry/new-york-v4/ui/card" import { ChartCont...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard-03/components/search-form.tsx
apps/v4/app/(examples)/dashboard-03/components/search-form.tsx
import { Search } from "lucide-react" import { Label } from "@/registry/new-york-v4/ui/label" import { SidebarInput } from "@/registry/new-york-v4/ui/sidebar" export function SearchForm({ ...props }: React.ComponentProps<"form">) { return ( <form {...props}> <div className="relative"> <Label htmlF...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard-03/components/nav-main.tsx
apps/v4/app/(examples)/dashboard-03/components/nav-main.tsx
"use client" import { usePathname } from "next/navigation" import { ChevronRight, type LucideIcon } from "lucide-react" import { Collapsible, CollapsibleContent, CollapsibleTrigger, } from "@/registry/new-york-v4/ui/collapsible" import { SidebarGroup, SidebarGroupLabel, SidebarMenu, SidebarMenuAction, ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard-03/components/nav-secondary.tsx
apps/v4/app/(examples)/dashboard-03/components/nav-secondary.tsx
import * as React from "react" import { type LucideIcon } from "lucide-react" import { SidebarGroup, SidebarGroupContent, SidebarMenu, SidebarMenuButton, SidebarMenuItem, } from "@/registry/new-york-v4/ui/sidebar" export function NavSecondary({ items, ...props }: { items: { title: string url: ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard-03/customers/page.tsx
apps/v4/app/(examples)/dashboard-03/customers/page.tsx
export default function CustomersPage() { return ( <div className="p-6"> <div className="bg-input p-4">Input</div> <div className="bg-input/30 p-4">Input 50</div> </div> ) }
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard/layout.tsx
apps/v4/app/(examples)/dashboard/layout.tsx
import { cookies } from "next/headers" import { SidebarInset, SidebarProvider, } from "@/registry/new-york-v4/ui/sidebar" import { AppSidebar } from "@/app/(examples)/dashboard/components/app-sidebar" import { SiteHeader } from "@/app/(examples)/dashboard/components/site-header" import "@/app/(examples)/dashboard...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard/page.tsx
apps/v4/app/(examples)/dashboard/page.tsx
import { ChartAreaInteractive } from "@/app/(examples)/dashboard/components/chart-area-interactive" import { DataTable } from "@/app/(examples)/dashboard/components/data-table" import { SectionCards } from "@/app/(examples)/dashboard/components/section-cards" import data from "@/app/(examples)/dashboard/data.json" exp...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard/components/chart-area-interactive.tsx
apps/v4/app/(examples)/dashboard/components/chart-area-interactive.tsx
"use client" import * as React from "react" import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" import { useIsMobile } from "@/registry/new-york-v4/hooks/use-mobile" import { Card, CardAction, CardContent, CardDescription, CardHeader, CardTitle, } from "@/registry/new-york-v4/ui/card" import ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard/components/theme-selector.tsx
apps/v4/app/(examples)/dashboard/components/theme-selector.tsx
"use client" import { useThemeConfig } from "@/components/active-theme" import { Label } from "@/registry/new-york-v4/ui/label" import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, } from "@/registry/new-york-v4/ui/select" const DEFAULT_THE...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard/components/mode-toggle.tsx
apps/v4/app/(examples)/dashboard/components/mode-toggle.tsx
"use client" import * as React from "react" import { IconBrightness } from "@tabler/icons-react" import { useTheme } from "next-themes" import { Button } from "@/registry/new-york-v4/ui/button" export function ModeToggle() { const { setTheme, resolvedTheme } = useTheme() const toggleTheme = React.useCallback(()...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard/components/app-sidebar.tsx
apps/v4/app/(examples)/dashboard/components/app-sidebar.tsx
"use client" import * as React from "react" import { IconCamera, IconChartBar, IconDashboard, IconDatabase, IconFileAi, IconFileDescription, IconFileWord, IconFolder, IconHelp, IconInnerShadowTop, IconListDetails, IconReport, IconSearch, IconSettings, IconUsers, } from "@tabler/icons-reac...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard/components/section-cards.tsx
apps/v4/app/(examples)/dashboard/components/section-cards.tsx
import { IconTrendingDown, IconTrendingUp } from "@tabler/icons-react" import { Badge } from "@/registry/new-york-v4/ui/badge" import { Card, CardAction, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/new-york-v4/ui/card" export function SectionCards() { return ( <div classNa...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard/components/nav-user.tsx
apps/v4/app/(examples)/dashboard/components/nav-user.tsx
"use client" import { IconCreditCard, IconDotsVertical, IconLogout, IconNotification, IconUserCircle, } from "@tabler/icons-react" import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/new-york-v4/ui/avatar" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenu...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard/components/nav-documents.tsx
apps/v4/app/(examples)/dashboard/components/nav-documents.tsx
"use client" import { IconDots, IconFolder, IconShare3, IconTrash, type Icon, } from "@tabler/icons-react" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, } from "@/registry/new-york-v4/ui/dropdown-menu" import { SidebarGroup, SidebarGr...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard/components/data-table.tsx
apps/v4/app/(examples)/dashboard/components/data-table.tsx
"use client" import * as React from "react" import { closestCenter, DndContext, KeyboardSensor, MouseSensor, TouchSensor, useSensor, useSensors, type DragEndEvent, type UniqueIdentifier, } from "@dnd-kit/core" import { restrictToVerticalAxis } from "@dnd-kit/modifiers" import { arrayMove, Sortabl...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard/components/site-header.tsx
apps/v4/app/(examples)/dashboard/components/site-header.tsx
import { Button } from "@/registry/new-york-v4/ui/button" import { Separator } from "@/registry/new-york-v4/ui/separator" import { SidebarTrigger } from "@/registry/new-york-v4/ui/sidebar" import { ModeToggle } from "@/app/(examples)/dashboard/components/mode-toggle" import { ThemeSelector } from "@/app/(examples)/dash...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard/components/nav-main.tsx
apps/v4/app/(examples)/dashboard/components/nav-main.tsx
"use client" import { IconCirclePlusFilled, IconMail, type Icon } from "@tabler/icons-react" import { Button } from "@/registry/new-york-v4/ui/button" import { SidebarGroup, SidebarGroupContent, SidebarMenu, SidebarMenuButton, SidebarMenuItem, } from "@/registry/new-york-v4/ui/sidebar" export function NavM...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(examples)/dashboard/components/nav-secondary.tsx
apps/v4/app/(examples)/dashboard/components/nav-secondary.tsx
"use client" import * as React from "react" import { IconBrightness, type Icon } from "@tabler/icons-react" import { useTheme } from "next-themes" import { SidebarGroup, SidebarGroupContent, SidebarMenu, SidebarMenuButton, SidebarMenuItem, } from "@/registry/new-york-v4/ui/sidebar" import { Skeleton } from ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/layout.tsx
apps/v4/app/(app)/layout.tsx
import { SiteFooter } from "@/components/site-footer" import { SiteHeader } from "@/components/site-header" export default function AppLayout({ children }: { children: React.ReactNode }) { return ( <div data-slot="layout" className="bg-background relative z-10 flex min-h-svh flex-col" > <Si...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/charts/layout.tsx
apps/v4/app/(app)/charts/layout.tsx
import { type 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 { PageNav } from "@...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/charts/charts.tsx
apps/v4/app/(app)/charts/charts.tsx
import type * as React from "react" import { ChartAreaAxes } from "@/registry/new-york-v4/charts/chart-area-axes" import { ChartAreaDefault } from "@/registry/new-york-v4/charts/chart-area-default" import { ChartAreaGradient } from "@/registry/new-york-v4/charts/chart-area-gradient" import { ChartAreaIcons } from "@/r...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/charts/[type]/page.tsx
apps/v4/app/(app)/charts/[type]/page.tsx
import * as React from "react" import { notFound } from "next/navigation" import { cn } from "@/lib/utils" import { ChartDisplay } from "@/components/chart-display" import { getActiveStyle } from "@/registry/_legacy-styles" import { charts } from "@/app/(app)/charts/charts" export const revalidate = false export cons...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/(root)/page.tsx
apps/v4/app/(app)/(root)/page.tsx
import { type Metadata } from "next" import Image from "next/image" import Link from "next/link" import { PlusSignIcon } from "@hugeicons/core-free-icons" import { HugeiconsIcon } from "@hugeicons/react" import { Announcement } from "@/components/announcement" import { ExamplesNav } from "@/components/examples-nav" im...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/(root)/components/empty-avatar-group.tsx
apps/v4/app/(app)/(root)/components/empty-avatar-group.tsx
import { PlusIcon } from "lucide-react" import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/new-york-v4/ui/avatar" import { Button } from "@/registry/new-york-v4/ui/button" import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, } 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/apps/v4/app/(app)/(root)/components/spinner-empty.tsx
apps/v4/app/(app)/(root)/components/spinner-empty.tsx
import { Button } from "@/registry/new-york-v4/ui/button" import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, } from "@/registry/new-york-v4/ui/empty" import { Spinner } from "@/registry/new-york-v4/ui/spinner" export function SpinnerEmpty() { return ( <Empty classNam...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/(root)/components/button-group-popover.tsx
apps/v4/app/(app)/(root)/components/button-group-popover.tsx
import { BotIcon, ChevronDownIcon } from "lucide-react" import { Button } from "@/registry/new-york-v4/ui/button" import { ButtonGroup } from "@/registry/new-york-v4/ui/button-group" import { Popover, PopoverContent, PopoverTrigger, } from "@/registry/new-york-v4/ui/popover" import { Separator } from "@/registry...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/(root)/components/field-choice-card.tsx
apps/v4/app/(app)/(root)/components/field-choice-card.tsx
import { Field, FieldContent, FieldDescription, FieldGroup, FieldLabel, FieldSet, FieldTitle, } from "@/registry/new-york-v4/ui/field" import { RadioGroup, RadioGroupItem, } from "@/registry/new-york-v4/ui/radio-group" export function FieldChoiceCard() { return ( <div className="w-full max-w-md...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/(root)/components/appearance-settings.tsx
apps/v4/app/(app)/(root)/components/appearance-settings.tsx
"use client" import * as React from "react" import { IconMinus, IconPlus } from "@tabler/icons-react" import { Button } from "@/registry/new-york-v4/ui/button" import { ButtonGroup } from "@/registry/new-york-v4/ui/button-group" import { Field, FieldContent, FieldDescription, FieldGroup, FieldLabel, Field...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/(root)/components/empty-input-group.tsx
apps/v4/app/(app)/(root)/components/empty-input-group.tsx
import { SearchIcon } from "lucide-react" import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyTitle, } from "@/registry/new-york-v4/ui/empty" import { InputGroup, InputGroupAddon, InputGroupInput, } from "@/registry/new-york-v4/ui/input-group" import { Kbd } from "@/registry/new-york-v4/u...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/(root)/components/button-group-demo.tsx
apps/v4/app/(app)/(root)/components/button-group-demo.tsx
"use client" import * as React from "react" import { ArchiveIcon, ArrowLeftIcon, CalendarPlusIcon, ClockIcon, ListFilterIcon, MailCheckIcon, MoreHorizontalIcon, TagIcon, Trash2Icon, } from "lucide-react" import { Button } from "@/registry/new-york-v4/ui/button" import { ButtonGroup } from "@/registr...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/(root)/components/notion-prompt-form.tsx
apps/v4/app/(app)/(root)/components/notion-prompt-form.tsx
"use client" import { useMemo, useState } from "react" import { IconApps, IconArrowUp, IconAt, IconBook, IconCircleDashedPlus, IconPaperclip, IconPlus, IconWorld, IconX, } from "@tabler/icons-react" import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/new-york-v4/ui/avatar" import ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/(root)/components/index.tsx
apps/v4/app/(app)/(root)/components/index.tsx
import { FieldSeparator } from "@/registry/new-york-v4/ui/field" import { AppearanceSettings } from "./appearance-settings" import { ButtonGroupDemo } from "./button-group-demo" import { ButtonGroupInputGroup } from "./button-group-input-group" import { ButtonGroupNested } from "./button-group-nested" import { ButtonG...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/(root)/components/input-group-demo.tsx
apps/v4/app/(app)/(root)/components/input-group-demo.tsx
import { IconCheck, IconInfoCircle, IconPlus } from "@tabler/icons-react" import { ArrowUpIcon, Search } from "lucide-react" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "@/registry/new-york-v4/ui/dropdown-menu" import { InputGroup, InputGroupAddon, InputGroup...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/(root)/components/field-hear.tsx
apps/v4/app/(app)/(root)/components/field-hear.tsx
import { Card, CardContent } from "@/registry/new-york-v4/ui/card" import { Checkbox } from "@/registry/new-york-v4/ui/checkbox" import { Field, FieldDescription, FieldGroup, FieldLabel, FieldLegend, FieldSet, FieldTitle, } from "@/registry/new-york-v4/ui/field" const options = [ { label: "Social M...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/(root)/components/input-group-button.tsx
apps/v4/app/(app)/(root)/components/input-group-button.tsx
"use client" import * as React from "react" import { IconInfoCircle, IconStar } from "@tabler/icons-react" import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, } from "@/registry/new-york-v4/ui/input-group" import { Label } from "@/registry/new-york-v4/ui/label" import { Popover, Popov...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/(root)/components/field-slider.tsx
apps/v4/app/(app)/(root)/components/field-slider.tsx
"use client" import { useState } from "react" import { Field, FieldDescription, FieldTitle, } from "@/registry/new-york-v4/ui/field" import { Slider } from "@/registry/new-york-v4/ui/slider" export function FieldSlider() { const [value, setValue] = useState([200, 800]) return ( <div className="w-full m...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/(root)/components/item-avatar.tsx
apps/v4/app/(app)/(root)/components/item-avatar.tsx
import { Plus } from "lucide-react" import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/new-york-v4/ui/avatar" import { Button } from "@/registry/new-york-v4/ui/button" import { Item, ItemActions, ItemContent, ItemDescription, ItemMedia, ItemTitle, } from "@/registry/new-york-v4/ui/item"...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/(root)/components/button-group-nested.tsx
apps/v4/app/(app)/(root)/components/button-group-nested.tsx
"use client" import { ArrowLeftIcon, ArrowRightIcon } from "lucide-react" import { Button } from "@/registry/new-york-v4/ui/button" import { ButtonGroup } from "@/registry/new-york-v4/ui/button-group" export function ButtonGroupNested() { return ( <ButtonGroup> <ButtonGroup> <Button variant="outl...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/(root)/components/field-checkbox.tsx
apps/v4/app/(app)/(root)/components/field-checkbox.tsx
import { Checkbox } from "@/registry/new-york-v4/ui/checkbox" import { Field, FieldLabel } from "@/registry/new-york-v4/ui/field" export function FieldCheckbox() { return ( <FieldLabel htmlFor="checkbox-demo"> <Field orientation="horizontal"> <Checkbox id="checkbox-demo" defaultChecked /> <...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/(root)/components/item-demo.tsx
apps/v4/app/(app)/(root)/components/item-demo.tsx
import { BadgeCheckIcon, ChevronRightIcon } from "lucide-react" import { Button } from "@/registry/new-york-v4/ui/button" import { Item, ItemActions, ItemContent, ItemDescription, ItemMedia, ItemTitle, } from "@/registry/new-york-v4/ui/item" export function ItemDemo() { return ( <div className="flex...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/(root)/components/input-group-textarea.tsx
apps/v4/app/(app)/(root)/components/input-group-textarea.tsx
import { IconBrandJavascript, IconCopy, IconCornerDownLeft, IconRefresh, } from "@tabler/icons-react" import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupText, InputGroupTextarea, } from "@/registry/new-york-v4/ui/input-group" export function InputGroupTextareaExample() { return ( ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/(root)/components/spinner-badge.tsx
apps/v4/app/(app)/(root)/components/spinner-badge.tsx
import { Badge } from "@/registry/new-york-v4/ui/badge" import { Spinner } from "@/registry/new-york-v4/ui/spinner" export function SpinnerBadge() { return ( <div className="flex items-center gap-2"> <Badge> <Spinner /> Syncing </Badge> <Badge variant="secondary"> <Spinn...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/(root)/components/field-demo.tsx
apps/v4/app/(app)/(root)/components/field-demo.tsx
import { Button } from "@/registry/new-york-v4/ui/button" import { Checkbox } from "@/registry/new-york-v4/ui/checkbox" import { Field, FieldDescription, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, } from "@/registry/new-york-v4/ui/field" import { Input } from "@/registry/new-york-v4/ui...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/(root)/components/button-group-input-group.tsx
apps/v4/app/(app)/(root)/components/button-group-input-group.tsx
"use client" import * as React from "react" import { AudioLinesIcon, PlusIcon } from "lucide-react" import { Button } from "@/registry/new-york-v4/ui/button" import { ButtonGroup } from "@/registry/new-york-v4/ui/button-group" import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, } from "@/...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/blocks/layout.tsx
apps/v4/app/(app)/blocks/layout.tsx
import { type Metadata } from "next" import Link from "next/link" import { Announcement } from "@/components/announcement" import { BlocksNav } from "@/components/blocks-nav" import { PageActions, PageHeader, PageHeaderDescription, PageHeaderHeading, } from "@/components/page-header" import { PageNav } from "@...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/blocks/page.tsx
apps/v4/app/(app)/blocks/page.tsx
import Link from "next/link" import { BlockDisplay } from "@/components/block-display" import { getActiveStyle } from "@/registry/_legacy-styles" import { Button } from "@/registry/new-york-v4/ui/button" export const dynamic = "force-static" export const revalidate = false const FEATURED_BLOCKS = [ "dashboard-01",...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/blocks/[...categories]/page.tsx
apps/v4/app/(app)/blocks/[...categories]/page.tsx
import { getAllBlockIds } from "@/lib/blocks" import { registryCategories } from "@/lib/categories" import { BlockDisplay } from "@/components/block-display" import { getActiveStyle } from "@/registry/_legacy-styles" export const revalidate = false export const dynamic = "force-static" export const dynamicParams = fal...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/llm/[[...slug]]/route.ts
apps/v4/app/(app)/llm/[[...slug]]/route.ts
import { notFound } from "next/navigation" import { NextResponse, type NextRequest } from "next/server" import { processMdxForLLMs } from "@/lib/llm" import { source } from "@/lib/source" import { getActiveStyle } from "@/registry/_legacy-styles" export const revalidate = false export async function GET( _req: Nex...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/docs/layout.tsx
apps/v4/app/(app)/docs/layout.tsx
import { source } from "@/lib/source" import { DocsSidebar } from "@/components/docs-sidebar" import { SidebarProvider } from "@/registry/new-york-v4/ui/sidebar" export default function DocsLayout({ children, }: { children: React.ReactNode }) { return ( <div className="container-wrapper 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/apps/v4/app/(app)/docs/[[...slug]]/page.tsx
apps/v4/app/(app)/docs/[[...slug]]/page.tsx
import Link from "next/link" import { notFound } from "next/navigation" import { mdxComponents } from "@/mdx-components" import { IconArrowLeft, IconArrowRight, IconArrowUpRight, } from "@tabler/icons-react" import fm from "front-matter" import { findNeighbour } from "fumadocs-core/page-tree" import z from "zod" ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/layout.tsx
apps/v4/app/(app)/examples/layout.tsx
import { type 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 { PageNav } fro...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/tasks/page.tsx
apps/v4/app/(app)/examples/tasks/page.tsx
import { promises as fs } from "fs" import path from "path" import { type 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 ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/tasks/components/data-table-faceted-filter.tsx
apps/v4/app/(app)/examples/tasks/components/data-table-faceted-filter.tsx
import * as React from "react" import { type Column } from "@tanstack/react-table" import { Check, PlusCircle } from "lucide-react" import { cn } from "@/lib/utils" import { Badge } from "@/registry/new-york-v4/ui/badge" import { Button } from "@/registry/new-york-v4/ui/button" import { Command, CommandEmpty, Co...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/tasks/components/data-table-toolbar.tsx
apps/v4/app/(app)/examples/tasks/components/data-table-toolbar.tsx
"use client" import { type Table } from "@tanstack/react-table" import { X } from "lucide-react" import { Button } from "@/registry/new-york-v4/ui/button" import { Input } from "@/registry/new-york-v4/ui/input" import { DataTableViewOptions } from "@/app/(app)/examples/tasks/components/data-table-view-options" impor...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/tasks/components/data-table-row-actions.tsx
apps/v4/app/(app)/examples/tasks/components/data-table-row-actions.tsx
"use client" import { type Row } from "@tanstack/react-table" import { MoreHorizontal } from "lucide-react" import { Button } from "@/registry/new-york-v4/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, Dropdo...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/tasks/components/data-table.tsx
apps/v4/app/(app)/examples/tasks/components/data-table.tsx
"use client" import * as React from "react" import { flexRender, getCoreRowModel, getFacetedRowModel, getFacetedUniqueValues, getFilteredRowModel, getPaginationRowModel, getSortedRowModel, useReactTable, type ColumnDef, type ColumnFiltersState, type SortingState, type VisibilityState, } from "@...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/tasks/components/user-nav.tsx
apps/v4/app/(app)/examples/tasks/components/user-nav.tsx
import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/new-york-v4/ui/avatar" import { Button } from "@/registry/new-york-v4/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, Dropdow...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/tasks/components/columns.tsx
apps/v4/app/(app)/examples/tasks/components/columns.tsx
"use client" import { type ColumnDef } from "@tanstack/react-table" import { Badge } from "@/registry/new-york-v4/ui/badge" import { Checkbox } from "@/registry/new-york-v4/ui/checkbox" import { labels, priorities, statuses } from "../data/data" import { type Task } from "../data/schema" import { DataTableColumnHead...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/tasks/components/data-table-column-header.tsx
apps/v4/app/(app)/examples/tasks/components/data-table-column-header.tsx
import { type Column } from "@tanstack/react-table" import { ArrowDown, ArrowUp, ChevronsUpDown, EyeOff } from "lucide-react" import { cn } from "@/lib/utils" import { Button } from "@/registry/new-york-v4/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, Dropdow...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/tasks/components/data-table-view-options.tsx
apps/v4/app/(app)/examples/tasks/components/data-table-view-options.tsx
"use client" import { DropdownMenuTrigger } from "@radix-ui/react-dropdown-menu" import { type Table } from "@tanstack/react-table" import { Settings2 } from "lucide-react" import { Button } from "@/registry/new-york-v4/ui/button" import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownM...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/tasks/components/data-table-pagination.tsx
apps/v4/app/(app)/examples/tasks/components/data-table-pagination.tsx
import { type Table } from "@tanstack/react-table" import { ChevronLeft, ChevronRight, ChevronsLeft, ChevronsRight, } from "lucide-react" import { Button } from "@/registry/new-york-v4/ui/button" import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@/registry/new-york-v4/ui...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/tasks/data/seed.ts
apps/v4/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/apps/v4/app/(app)/examples/tasks/data/schema.ts
apps/v4/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/apps/v4/app/(app)/examples/tasks/data/data.tsx
apps/v4/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/apps/v4/app/(app)/examples/authentication/page.tsx
apps/v4/app/(app)/examples/authentication/page.tsx
import { type Metadata } from "next" import Image from "next/image" import Link from "next/link" import { cn } from "@/lib/utils" import { buttonVariants } from "@/registry/new-york-v4/ui/button" import { FieldDescription } from "@/registry/new-york-v4/ui/field" import { UserAuthForm } from "@/app/(app)/examples/authe...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/authentication/components/user-auth-form.tsx
apps/v4/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-v4/ui/button" import { Field, FieldGroup, FieldLabel, FieldSeparator, } from "@/registry/new-york-v4/ui/field" import { Input } from "@/registry/n...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/dashboard/page.tsx
apps/v4/app/(app)/examples/dashboard/page.tsx
import Image from "next/image" import { SidebarInset, SidebarProvider, } from "@/registry/new-york-v4/ui/sidebar" import { AppSidebar } from "@/app/(app)/examples/dashboard/components/app-sidebar" import { ChartAreaInteractive } from "@/app/(app)/examples/dashboard/components/chart-area-interactive" import { DataT...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/dashboard/components/chart-area-interactive.tsx
apps/v4/app/(app)/examples/dashboard/components/chart-area-interactive.tsx
"use client" import * as React from "react" import { Area, AreaChart, CartesianGrid, XAxis } from "recharts" import { useIsMobile } from "@/registry/new-york-v4/hooks/use-mobile" import { Card, CardAction, CardContent, CardDescription, CardHeader, CardTitle, } from "@/registry/new-york-v4/ui/card" import ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/dashboard/components/app-sidebar.tsx
apps/v4/app/(app)/examples/dashboard/components/app-sidebar.tsx
"use client" import * as React from "react" import Link from "next/link" import { IconCamera, IconChartBar, IconDashboard, IconDatabase, IconFileAi, IconFileDescription, IconFileWord, IconFolder, IconHelp, IconInnerShadowTop, IconListDetails, IconReport, IconSearch, IconSettings, IconUser...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/dashboard/components/section-cards.tsx
apps/v4/app/(app)/examples/dashboard/components/section-cards.tsx
import { IconTrendingDown, IconTrendingUp } from "@tabler/icons-react" import { Badge } from "@/registry/new-york-v4/ui/badge" import { Card, CardAction, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/new-york-v4/ui/card" export function SectionCards() { return ( <div classNa...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/dashboard/components/nav-user.tsx
apps/v4/app/(app)/examples/dashboard/components/nav-user.tsx
"use client" import { IconCreditCard, IconDotsVertical, IconLogout, IconNotification, IconUserCircle, } from "@tabler/icons-react" import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/new-york-v4/ui/avatar" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenu...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/dashboard/components/nav-documents.tsx
apps/v4/app/(app)/examples/dashboard/components/nav-documents.tsx
"use client" import { IconDots, IconFolder, IconShare3, IconTrash, type Icon, } from "@tabler/icons-react" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, } from "@/registry/new-york-v4/ui/dropdown-menu" import { SidebarGroup, SidebarGr...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/dashboard/components/data-table.tsx
apps/v4/app/(app)/examples/dashboard/components/data-table.tsx
"use client" import * as React from "react" import { closestCenter, DndContext, KeyboardSensor, MouseSensor, TouchSensor, useSensor, useSensors, type DragEndEvent, type UniqueIdentifier, } from "@dnd-kit/core" import { restrictToVerticalAxis } from "@dnd-kit/modifiers" import { arrayMove, Sortabl...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/dashboard/components/site-header.tsx
apps/v4/app/(app)/examples/dashboard/components/site-header.tsx
import { IconCirclePlusFilled } from "@tabler/icons-react" import { Button } from "@/registry/new-york-v4/ui/button" export function SiteHeader() { return ( <header className="bg-background/90 sticky top-0 z-10 flex h-(--header-height) shrink-0 items-center gap-2 border-b transition-[width,height] ease-linear g...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/dashboard/components/nav-main.tsx
apps/v4/app/(app)/examples/dashboard/components/nav-main.tsx
"use client" import { type Icon } from "@tabler/icons-react" import { SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarMenu, SidebarMenuButton, SidebarMenuItem, } from "@/registry/new-york-v4/ui/sidebar" export function NavMain({ items, }: { items: { title: string url: string ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/dashboard/components/nav-secondary.tsx
apps/v4/app/(app)/examples/dashboard/components/nav-secondary.tsx
"use client" import * as React from "react" import { type Icon } from "@tabler/icons-react" import { SidebarGroup, SidebarGroupContent, SidebarMenu, SidebarMenuButton, SidebarMenuItem, } from "@/registry/new-york-v4/ui/sidebar" export function NavSecondary({ items, ...props }: { items: { title: s...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/playground/page.tsx
apps/v4/app/(app)/examples/playground/page.tsx
import { type Metadata } from "next" import Image from "next/image" import { RotateCcw } from "lucide-react" import { Button } from "@/registry/new-york-v4/ui/button" import { HoverCard, HoverCardContent, HoverCardTrigger, } from "@/registry/new-york-v4/ui/hover-card" import { Label } from "@/registry/new-york-v...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/playground/components/temperature-selector.tsx
apps/v4/app/(app)/examples/playground/components/temperature-selector.tsx
"use client" import * as React from "react" import { type SliderProps } from "@radix-ui/react-slider" import { HoverCard, HoverCardContent, HoverCardTrigger, } from "@/registry/new-york-v4/ui/hover-card" import { Label } from "@/registry/new-york-v4/ui/label" import { Slider } from "@/registry/new-york-v4/ui/sl...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/playground/components/preset-selector.tsx
apps/v4/app/(app)/examples/playground/components/preset-selector.tsx
"use client" import * as React from "react" import { type PopoverProps } from "@radix-ui/react-popover" import { Check, ChevronsUpDown } from "lucide-react" import { cn } from "@/lib/utils" import { Button } from "@/registry/new-york-v4/ui/button" import { Command, CommandEmpty, CommandGroup, CommandInput, ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/playground/components/maxlength-selector.tsx
apps/v4/app/(app)/examples/playground/components/maxlength-selector.tsx
"use client" import * as React from "react" import { type SliderProps } from "@radix-ui/react-slider" import { HoverCard, HoverCardContent, HoverCardTrigger, } from "@/registry/new-york-v4/ui/hover-card" import { Label } from "@/registry/new-york-v4/ui/label" import { Slider } from "@/registry/new-york-v4/ui/sl...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/playground/components/preset-save.tsx
apps/v4/app/(app)/examples/playground/components/preset-save.tsx
import { Button } from "@/registry/new-york-v4/ui/button" import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, } from "@/registry/new-york-v4/ui/dialog" import { Input } from "@/registry/new-york-v4/ui/input" import { Label } 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/apps/v4/app/(app)/examples/playground/components/preset-share.tsx
apps/v4/app/(app)/examples/playground/components/preset-share.tsx
import { Copy } from "lucide-react" import { Button } from "@/registry/new-york-v4/ui/button" import { Input } from "@/registry/new-york-v4/ui/input" import { Label } from "@/registry/new-york-v4/ui/label" import { Popover, PopoverContent, PopoverTrigger, } from "@/registry/new-york-v4/ui/popover" export functi...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/playground/components/code-viewer.tsx
apps/v4/app/(app)/examples/playground/components/code-viewer.tsx
import { Button } from "@/registry/new-york-v4/ui/button" import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, } from "@/registry/new-york-v4/ui/dialog" export function CodeViewer() { return ( <Dialog> <DialogTrigger asChild> <Button variant="seco...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/playground/components/top-p-selector.tsx
apps/v4/app/(app)/examples/playground/components/top-p-selector.tsx
"use client" import * as React from "react" import { type SliderProps } from "@radix-ui/react-slider" import { HoverCard, HoverCardContent, HoverCardTrigger, } from "@/registry/new-york-v4/ui/hover-card" import { Label } from "@/registry/new-york-v4/ui/label" import { Slider } from "@/registry/new-york-v4/ui/sl...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/playground/components/preset-actions.tsx
apps/v4/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 "sonner" import { AlertDialog, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogT...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/playground/components/model-selector.tsx
apps/v4/app/(app)/examples/playground/components/model-selector.tsx
"use client" import * as React from "react" import { type 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-v4/ui/button" im...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/examples/playground/data/models.ts
apps/v4/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/apps/v4/app/(app)/examples/playground/data/presets.ts
apps/v4/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
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/themes/layout.tsx
apps/v4/app/(app)/themes/layout.tsx
import { type Metadata } from "next" import Link from "next/link" import { Announcement } from "@/components/announcement" import { PageActions, PageHeader, PageHeaderDescription, PageHeaderHeading, } from "@/components/page-header" import { Button } from "@/registry/new-york-v4/ui/button" const title = "Pick...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/themes/page.tsx
apps/v4/app/(app)/themes/page.tsx
import { CardsDemo } from "@/components/cards" import { ThemeCustomizer } from "@/components/theme-customizer" export const dynamic = "force-static" export const revalidate = false export default function ThemesPage() { return ( <> <div id="themes" className="container-wrapper scroll-mt-20"> <div ...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false
shadcn-ui/ui
https://github.com/shadcn-ui/ui/blob/ccafdaf7c6f6747a24f54e84436b42ec42f01779/apps/v4/app/(app)/colors/layout.tsx
apps/v4/app/(app)/colors/layout.tsx
import { type Metadata } from "next" import Link from "next/link" import { Announcement } from "@/components/announcement" import { ColorsNav } from "@/components/colors-nav" import { PageActions, PageHeader, PageHeaderDescription, PageHeaderHeading, } from "@/components/page-header" import { Button } from "@/...
typescript
MIT
ccafdaf7c6f6747a24f54e84436b42ec42f01779
2026-01-04T15:25:31.746168Z
false