{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "table",
  "type": "registry:ui",
  "title": "Table",
  "description": "Semantic data table",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "agent",
    "ui",
    "react"
  ],
  "docs": "https://agent-ui-27t.pages.dev/docs/table",
  "files": [
    {
      "path": "packages/react/src/table.tsx",
      "type": "registry:ui",
      "target": "@ui/table.tsx",
      "content": "import * as React from \"react\";\nimport { cn } from \"@/lib/utils\";\n\nexport const Table = React.forwardRef<HTMLTableElement, React.TableHTMLAttributes<HTMLTableElement>>(\n  ({ className, ...props }, ref) => (\n    <div className=\"max-w-full overflow-x-auto rounded-lg border border-border\">\n      <table ref={ref} data-agent-id=\"table\" className={cn(\"w-full caption-bottom border-collapse text-left text-sm\", className)} {...props} />\n    </div>\n  )\n);\nTable.displayName = \"Table\";\n\nexport const TableHeader = React.forwardRef<HTMLTableSectionElement, React.HTMLAttributes<HTMLTableSectionElement>>(\n  ({ className, ...props }, ref) => <thead ref={ref} className={cn(\"border-b border-border bg-muted/40\", className)} {...props} />\n);\nTableHeader.displayName = \"TableHeader\";\n\nexport const TableBody = React.forwardRef<HTMLTableSectionElement, React.HTMLAttributes<HTMLTableSectionElement>>(\n  ({ className, ...props }, ref) => <tbody ref={ref} className={cn(\"[&_tr:last-child]:border-0\", className)} {...props} />\n);\nTableBody.displayName = \"TableBody\";\n\nexport const TableRow = React.forwardRef<HTMLTableRowElement, React.HTMLAttributes<HTMLTableRowElement>>(\n  ({ className, ...props }, ref) => <tr ref={ref} className={cn(\"border-b border-border transition-colors hover:bg-muted/40\", className)} {...props} />\n);\nTableRow.displayName = \"TableRow\";\n\nexport const TableHead = React.forwardRef<HTMLTableCellElement, React.ThHTMLAttributes<HTMLTableCellElement>>(\n  ({ className, scope = \"col\", ...props }, ref) => <th ref={ref} scope={scope} className={cn(\"px-4 py-3 text-left text-xs font-medium text-muted-foreground\", className)} {...props} />\n);\nTableHead.displayName = \"TableHead\";\n\nexport const TableCell = React.forwardRef<HTMLTableCellElement, React.TdHTMLAttributes<HTMLTableCellElement>>(\n  ({ className, ...props }, ref) => <td ref={ref} className={cn(\"px-4 py-3 align-middle text-foreground\", className)} {...props} />\n);\nTableCell.displayName = \"TableCell\";\n\nexport const TableCaption = React.forwardRef<HTMLTableCaptionElement, React.HTMLAttributes<HTMLTableCaptionElement>>(\n  ({ className, ...props }, ref) => <caption ref={ref} className={cn(\"p-3 text-left text-xs text-muted-foreground\", className)} {...props} />\n);\nTableCaption.displayName = \"TableCaption\";\n"
    }
  ]
}