{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "comp-480",
  "type": "registry:component",
  "title": "Comp 480",
  "description": "Comp 480",
  "files": [
    {
      "path": "registry/ui-basic/comp-480.tsx",
      "content": "\"use client\";\n\nimport { CSSProperties, useEffect, useState } from \"react\";\n\nimport { Button } from \"@/components/ui/button\";\nimport {\n\tDropdownMenu,\n\tDropdownMenuContent,\n\tDropdownMenuItem,\n\tDropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\";\nimport {\n\tTable,\n\tTableBody,\n\tTableCell,\n\tTableHead,\n\tTableHeader,\n\tTableRow,\n} from \"@/components/ui/table\";\nimport {\n\tColumn,\n\tColumnDef,\n\tflexRender,\n\tgetCoreRowModel,\n\tgetSortedRowModel,\n\tSortingState,\n\tuseReactTable,\n} from \"@tanstack/react-table\";\nimport {\n\tArrowLeftToLineIcon,\n\tArrowRightToLineIcon,\n\tEllipsisIcon,\n\tPinOffIcon,\n} from \"lucide-react\";\n\ntype Item = {\n\tid: string;\n\tname: string;\n\temail: string;\n\tlocation: string;\n\tflag: string;\n\tstatus: \"Active\" | \"Inactive\" | \"Pending\";\n\tbalance: number;\n\tdepartment: string;\n\trole: string;\n\tjoinDate: string;\n\tlastActive: string;\n\tperformance: \"Good\" | \"Very Good\" | \"Excellent\" | \"Outstanding\";\n};\n\n// Helper function to compute pinning styles for columns\nconst getPinningStyles = (column: Column<Item>): CSSProperties => {\n\tconst isPinned = column.getIsPinned();\n\treturn {\n\t\tleft: isPinned === \"left\" ? `${column.getStart(\"left\")}px` : undefined,\n\t\tright: isPinned === \"right\" ? `${column.getAfter(\"right\")}px` : undefined,\n\t\tposition: isPinned ? \"sticky\" : \"relative\",\n\t\twidth: column.getSize(),\n\t\tzIndex: isPinned ? 1 : 0,\n\t};\n};\n\nconst columns: ColumnDef<Item>[] = [\n\t{\n\t\theader: \"Name\",\n\t\taccessorKey: \"name\",\n\t\tcell: ({ row }) => (\n\t\t\t<div className=\"truncate font-medium\">{row.getValue(\"name\")}</div>\n\t\t),\n\t},\n\t{\n\t\theader: \"Email\",\n\t\taccessorKey: \"email\",\n\t},\n\t{\n\t\theader: \"Location\",\n\t\taccessorKey: \"location\",\n\t\tcell: ({ row }) => (\n\t\t\t<div className=\"truncate\">\n\t\t\t\t<span className=\"text-lg leading-none\">{row.original.flag}</span>{\" \"}\n\t\t\t\t{row.getValue(\"location\")}\n\t\t\t</div>\n\t\t),\n\t},\n\t{\n\t\theader: \"Status\",\n\t\taccessorKey: \"status\",\n\t},\n\t{\n\t\theader: \"Balance\",\n\t\taccessorKey: \"balance\",\n\t\tcell: ({ row }) => {\n\t\t\tconst amount = parseFloat(row.getValue(\"balance\"));\n\t\t\tconst formatted = new Intl.NumberFormat(\"en-US\", {\n\t\t\t\tstyle: \"currency\",\n\t\t\t\tcurrency: \"USD\",\n\t\t\t}).format(amount);\n\t\t\treturn formatted;\n\t\t},\n\t},\n\t{\n\t\theader: \"Department\",\n\t\taccessorKey: \"department\",\n\t},\n\t{\n\t\theader: \"Role\",\n\t\taccessorKey: \"role\",\n\t},\n\t{\n\t\theader: \"Join Date\",\n\t\taccessorKey: \"joinDate\",\n\t},\n\t{\n\t\theader: \"Last Active\",\n\t\taccessorKey: \"lastActive\",\n\t},\n\t{\n\t\theader: \"Performance\",\n\t\taccessorKey: \"performance\",\n\t},\n];\n\nexport default function Component() {\n\tconst [data, setData] = useState<Item[]>([]);\n\tconst [sorting, setSorting] = useState<SortingState>([]);\n\n\tuseEffect(() => {\n\t\tasync function fetchPosts() {\n\t\t\tconst res = await fetch(\n\t\t\t\t\"https://raw.githubusercontent.com/origin-space/origin-images/refs/heads/main/users-01_fertyx.json\"\n\t\t\t);\n\t\t\tconst data = await res.json();\n\t\t\tsetData(data.slice(0, 5)); // Limit to 5 items\n\t\t}\n\t\tfetchPosts();\n\t}, []);\n\n\tconst table = useReactTable({\n\t\tdata,\n\t\tcolumns,\n\t\tcolumnResizeMode: \"onChange\",\n\t\tgetCoreRowModel: getCoreRowModel(),\n\t\tgetSortedRowModel: getSortedRowModel(),\n\t\tonSortingChange: setSorting,\n\t\tstate: {\n\t\t\tsorting,\n\t\t},\n\t\tenableSortingRemoval: false,\n\t});\n\n\treturn (\n\t\t<div>\n\t\t\t<Table\n\t\t\t\tclassName=\"[&_td]:border-border [&_th]:border-border table-fixed border-separate border-spacing-0 [&_tfoot_td]:border-t [&_th]:border-b [&_tr]:border-none [&_tr:not(:last-child)_td]:border-b\"\n\t\t\t\tstyle={{\n\t\t\t\t\twidth: table.getTotalSize(),\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t<TableHeader>\n\t\t\t\t\t{table.getHeaderGroups().map((headerGroup) => (\n\t\t\t\t\t\t<TableRow key={headerGroup.id} className=\"bg-muted/50\">\n\t\t\t\t\t\t\t{headerGroup.headers.map((header) => {\n\t\t\t\t\t\t\t\tconst { column } = header;\n\t\t\t\t\t\t\t\tconst isPinned = column.getIsPinned();\n\t\t\t\t\t\t\t\tconst isLastLeftPinned =\n\t\t\t\t\t\t\t\t\tisPinned === \"left\" &&\n\t\t\t\t\t\t\t\t\tcolumn.getIsLastColumn(\"left\");\n\t\t\t\t\t\t\t\tconst isFirstRightPinned =\n\t\t\t\t\t\t\t\t\tisPinned === \"right\" &&\n\t\t\t\t\t\t\t\t\tcolumn.getIsFirstColumn(\"right\");\n\n\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t<TableHead\n\t\t\t\t\t\t\t\t\t\tkey={header.id}\n\t\t\t\t\t\t\t\t\t\tclassName=\"[&[data-pinned][data-last-col]]:border-border data-pinned:bg-muted/90 relative h-10 truncate border-t data-pinned:backdrop-blur-xs [&:not([data-pinned]):has(+[data-pinned])_div.cursor-col-resize:last-child]:opacity-0 [&[data-last-col=left]_div.cursor-col-resize:last-child]:opacity-0 [&[data-pinned=left][data-last-col=left]]:border-r [&[data-pinned=right]:last-child_div.cursor-col-resize:last-child]:opacity-0 [&[data-pinned=right][data-last-col=right]]:border-l\"\n\t\t\t\t\t\t\t\t\t\tcolSpan={header.colSpan}\n\t\t\t\t\t\t\t\t\t\tstyle={{ ...getPinningStyles(column) }}\n\t\t\t\t\t\t\t\t\t\tdata-pinned={isPinned || undefined}\n\t\t\t\t\t\t\t\t\t\tdata-last-col={\n\t\t\t\t\t\t\t\t\t\t\tisLastLeftPinned\n\t\t\t\t\t\t\t\t\t\t\t\t? \"left\"\n\t\t\t\t\t\t\t\t\t\t\t\t: isFirstRightPinned\n\t\t\t\t\t\t\t\t\t\t\t\t\t? \"right\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t<div className=\"flex items-center justify-between gap-2\">\n\t\t\t\t\t\t\t\t\t\t\t<span className=\"truncate\">\n\t\t\t\t\t\t\t\t\t\t\t\t{header.isPlaceholder\n\t\t\t\t\t\t\t\t\t\t\t\t\t? null\n\t\t\t\t\t\t\t\t\t\t\t\t\t: flexRender(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\theader.column.columnDef.header,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\theader.getContext()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t\t\t{/* Pin/Unpin column controls with enhanced accessibility */}\n\t\t\t\t\t\t\t\t\t\t\t{!header.isPlaceholder &&\n\t\t\t\t\t\t\t\t\t\t\t\theader.column.getCanPin() &&\n\t\t\t\t\t\t\t\t\t\t\t\t(header.column.getIsPinned() ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsize=\"icon\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"-mr-1 size-7 shadow-none\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonClick={() =>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\theader.column.pin(false)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\taria-label={`Unpin ${header.column.columnDef.header as string} column`}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttitle={`Unpin ${header.column.columnDef.header as string} column`}\n\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<PinOffIcon\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"opacity-60\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsize={16}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<DropdownMenu>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<DropdownMenuTrigger asChild>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsize=\"icon\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"-mr-1 size-7 shadow-none\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\taria-label={`Pin options for ${header.column.columnDef.header as string} column`}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttitle={`Pin options for ${header.column.columnDef.header as string} column`}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<EllipsisIcon\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"opacity-60\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsize={16}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</DropdownMenuTrigger>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<DropdownMenuContent align=\"end\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<DropdownMenuItem\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tonClick={() =>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\theader.column.pin(\"left\")\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ArrowLeftToLineIcon\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsize={16}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"opacity-60\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tStick to left\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</DropdownMenuItem>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<DropdownMenuItem\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tonClick={() =>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\theader.column.pin(\"right\")\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ArrowRightToLineIcon\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsize={16}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"opacity-60\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tStick to right\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</DropdownMenuItem>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</DropdownMenuContent>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</DropdownMenu>\n\t\t\t\t\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t\t\t\t{header.column.getCanResize() && (\n\t\t\t\t\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\t\t\t\t\t{...{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonDoubleClick: () =>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\theader.column.resetSize(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonMouseDown:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\theader.getResizeHandler(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tonTouchStart:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\theader.getResizeHandler(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"absolute top-0 h-full w-4 cursor-col-resize user-select-none touch-none -right-2 z-10 flex justify-center before:absolute before:w-px before:inset-y-0 before:bg-border before:-translate-x-px\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</TableHead>\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t</TableRow>\n\t\t\t\t\t))}\n\t\t\t\t</TableHeader>\n\t\t\t\t<TableBody>\n\t\t\t\t\t{table.getRowModel().rows?.length ? (\n\t\t\t\t\t\ttable.getRowModel().rows.map((row) => (\n\t\t\t\t\t\t\t<TableRow\n\t\t\t\t\t\t\t\tkey={row.id}\n\t\t\t\t\t\t\t\tdata-state={row.getIsSelected() && \"selected\"}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{row.getVisibleCells().map((cell) => {\n\t\t\t\t\t\t\t\t\tconst { column } = cell;\n\t\t\t\t\t\t\t\t\tconst isPinned = column.getIsPinned();\n\t\t\t\t\t\t\t\t\tconst isLastLeftPinned =\n\t\t\t\t\t\t\t\t\t\tisPinned === \"left\" &&\n\t\t\t\t\t\t\t\t\t\tcolumn.getIsLastColumn(\"left\");\n\t\t\t\t\t\t\t\t\tconst isFirstRightPinned =\n\t\t\t\t\t\t\t\t\t\tisPinned === \"right\" &&\n\t\t\t\t\t\t\t\t\t\tcolumn.getIsFirstColumn(\"right\");\n\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t<TableCell\n\t\t\t\t\t\t\t\t\t\t\tkey={cell.id}\n\t\t\t\t\t\t\t\t\t\t\tclassName=\"[&[data-pinned][data-last-col]]:border-border data-pinned:bg-background/90 truncate data-pinned:backdrop-blur-xs [&[data-pinned=left][data-last-col=left]]:border-r [&[data-pinned=right][data-last-col=right]]:border-l\"\n\t\t\t\t\t\t\t\t\t\t\tstyle={{ ...getPinningStyles(column) }}\n\t\t\t\t\t\t\t\t\t\t\tdata-pinned={isPinned || undefined}\n\t\t\t\t\t\t\t\t\t\t\tdata-last-col={\n\t\t\t\t\t\t\t\t\t\t\t\tisLastLeftPinned\n\t\t\t\t\t\t\t\t\t\t\t\t\t? \"left\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t: isFirstRightPinned\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t? \"right\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t{flexRender(\n\t\t\t\t\t\t\t\t\t\t\t\tcell.column.columnDef.cell,\n\t\t\t\t\t\t\t\t\t\t\t\tcell.getContext()\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t</TableCell>\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t</TableRow>\n\t\t\t\t\t\t))\n\t\t\t\t\t) : (\n\t\t\t\t\t\t<TableRow>\n\t\t\t\t\t\t\t<TableCell\n\t\t\t\t\t\t\t\tcolSpan={columns.length}\n\t\t\t\t\t\t\t\tclassName=\"h-24 text-center\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\tNo results.\n\t\t\t\t\t\t\t</TableCell>\n\t\t\t\t\t\t</TableRow>\n\t\t\t\t\t)}\n\t\t\t\t</TableBody>\n\t\t\t</Table>\n\t\t\t<p className=\"text-muted-foreground mt-4 text-center text-sm\">\n\t\t\t\tPinnable columns made with{\" \"}\n\t\t\t\t<a\n\t\t\t\t\tclassName=\"hover:text-foreground underline\"\n\t\t\t\t\thref=\"https://tanstack.com/table\"\n\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t>\n\t\t\t\t\tTanStack Table\n\t\t\t\t</a>\n\t\t\t</p>\n\t\t</div>\n\t);\n}\n",
      "type": "registry:ui"
    },
    {
      "path": "components/ui/button.tsx",
      "content": "import * as React from \"react\";\r\n\r\nimport { cn } from \"@/registry/utilities/cn\";\r\nimport { Slot } from \"@radix-ui/react-slot\";\r\nimport { cva, type VariantProps } from \"class-variance-authority\";\r\n\r\nconst buttonVariants = cva(\r\n\t\"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm text-white hover:text-gray-400 font-medium ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50\",\r\n\t{\r\n\t\tvariants: {\r\n\t\t\tvariant: {\r\n\t\t\t\tsimple:\r\n\t\t\t\t\t\"bg-secondary relative z-10 bg-transparent hover:border-secondary hover:bg-secondary/50  border border-transparent dark:text-white text-sm md:text-sm transition font-medium duration-200  rounded-md px-4 py-2  flex items-center justify-center\",\r\n\t\t\t\tdefault: \"bg-primary text-primary-foreground hover:bg-primary/90\",\r\n\t\t\t\tdestructive:\r\n\t\t\t\t\t\"bg-destructive text-destructive-foreground hover:bg-destructive/90\",\r\n\t\t\t\toutline:\r\n\t\t\t\t\t\"border border-input bg-background hover:bg-accent hover:text-accent-foreground\",\r\n\t\t\t\tsecondary:\r\n\t\t\t\t\t\"bg-secondary text-secondary-foreground hover:bg-secondary/80\",\r\n\t\t\t\tghost: \"hover:bg-accent hover:text-black hover:stroke-black dark:text-white text-black\",\r\n\t\t\t\tlink: \"text-primary underline-offset-4 hover:underline\",\r\n\t\t\t},\r\n\t\t\tsize: {\r\n\t\t\t\tdefault: \"h-10 px-4 py-2\",\r\n\t\t\t\tsm: \"h-9 rounded-md px-3\",\r\n\t\t\t\tlg: \"h-11 rounded-md px-8\",\r\n\t\t\t\ticon: \"h-10 w-10\",\r\n\t\t\t},\r\n\t\t},\r\n\t\tdefaultVariants: {\r\n\t\t\tvariant: \"default\",\r\n\t\t\tsize: \"default\",\r\n\t\t},\r\n\t}\r\n);\r\n\r\nexport interface ButtonProps\r\n\textends React.ButtonHTMLAttributes<HTMLButtonElement>,\r\n\t\tVariantProps<typeof buttonVariants> {\r\n\tasChild?: boolean;\r\n}\r\n\r\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\r\n\t({ className, variant, size, asChild = false, ...props }, ref) => {\r\n\t\tconst Comp = asChild ? Slot : \"button\";\r\n\t\treturn (\r\n\t\t\t<Comp\r\n\t\t\t\tclassName={cn(buttonVariants({ variant, size, className }))}\r\n\t\t\t\tref={ref}\r\n\t\t\t\t{...props}\r\n\t\t\t/>\r\n\t\t);\r\n\t}\r\n);\r\nButton.displayName = \"Button\";\r\n\r\nexport { Button, buttonVariants };\r\n",
      "type": "registry:ui"
    },
    {
      "path": "registry/utilities/cn.ts",
      "content": "import { ClassValue, clsx } from \"clsx\";\r\nimport { twMerge } from \"tailwind-merge\";\r\n\r\nexport function cn(...inputs: ClassValue[]) {\r\n\treturn twMerge(clsx(inputs));\r\n}\r\n",
      "type": "registry:ui"
    }
  ]
}