{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "sticky-column",
  "type": "registry:ui",
  "title": "Sticky column",
  "description": "Sticky table column wrapper that pins content to the left or right edge with a solid background and divider while the rest of a wide table scrolls horizontally.",
  "dependencies": [],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "registry/ui/sticky-column.tsx",
      "type": "registry:ui",
      "target": "components/ui/sticky-column.tsx",
      "content": "\"use client\"\nimport * as React from \"react\"\nimport { cn } from \"@/lib/utils\"\nfunction StickyColumn({ children, side = \"left\", className }: { children: React.ReactNode; side?: \"left\" | \"right\"; className?: string }) {\n  return (\n    <div\n      data-slot=\"sticky-column\"\n      className={cn(\n        \"sticky z-10 bg-surface\",\n        side === \"left\" ? \"left-0 border-r border-border\" : \"right-0 border-l border-border\",\n        className\n      )}\n    >\n      {children}\n    </div>\n  )\n}\nexport { StickyColumn }\n"
    }
  ]
}
