{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "glass-table",
  "title": "Glass Table",
  "description": "A liquid glass styled table for displaying tabular data.",
  "dependencies": [],
  "files": [
    {
      "path": "registry/liquid-glass/glass-table.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { cn } from \"@/lib/utils\"\n\nconst GlassTable = React.forwardRef<HTMLTableElement, React.HTMLAttributes<HTMLTableElement>>(\n  ({ className, ...props }, ref) => (\n    <div className=\"relative w-full overflow-auto rounded-2xl border border-white/20 bg-white/5 backdrop-blur-xl shadow-[0_8px_32px_rgba(0,0,0,0.2)]\">\n      <table ref={ref} className={cn(\"w-full caption-bottom text-sm\", className)} {...props} />\n    </div>\n  ),\n)\nGlassTable.displayName = \"GlassTable\"\n\nconst GlassTableHeader = React.forwardRef<HTMLTableSectionElement, React.HTMLAttributes<HTMLTableSectionElement>>(\n  ({ className, ...props }, ref) => (\n    <thead ref={ref} className={cn(\"[&_tr]:border-b border-white/10\", className)} {...props} />\n  ),\n)\nGlassTableHeader.displayName = \"GlassTableHeader\"\n\nconst GlassTableBody = React.forwardRef<HTMLTableSectionElement, React.HTMLAttributes<HTMLTableSectionElement>>(\n  ({ className, ...props }, ref) => (\n    <tbody ref={ref} className={cn(\"[&_tr:last-child]:border-0\", className)} {...props} />\n  ),\n)\nGlassTableBody.displayName = \"GlassTableBody\"\n\nconst GlassTableFooter = React.forwardRef<HTMLTableSectionElement, React.HTMLAttributes<HTMLTableSectionElement>>(\n  ({ className, ...props }, ref) => (\n    <tfoot\n      ref={ref}\n      className={cn(\"border-t border-white/10 bg-white/5 font-medium [&>tr]:last:border-b-0\", className)}\n      {...props}\n    />\n  ),\n)\nGlassTableFooter.displayName = \"GlassTableFooter\"\n\nconst GlassTableRow = React.forwardRef<HTMLTableRowElement, React.HTMLAttributes<HTMLTableRowElement>>(\n  ({ className, ...props }, ref) => (\n    <tr\n      ref={ref}\n      className={cn(\n        \"border-b border-white/10 transition-colors\",\n        \"hover:bg-white/5 data-[state=selected]:bg-white/10\",\n        className,\n      )}\n      {...props}\n    />\n  ),\n)\nGlassTableRow.displayName = \"GlassTableRow\"\n\nconst GlassTableHead = React.forwardRef<HTMLTableCellElement, React.ThHTMLAttributes<HTMLTableCellElement>>(\n  ({ className, ...props }, ref) => (\n    <th\n      ref={ref}\n      className={cn(\n        \"h-12 px-4 text-left align-middle font-medium text-white/60\",\n        \"has-[[role=checkbox]]:pr-0\",\n        className,\n      )}\n      {...props}\n    />\n  ),\n)\nGlassTableHead.displayName = \"GlassTableHead\"\n\nconst GlassTableCell = React.forwardRef<HTMLTableCellElement, React.TdHTMLAttributes<HTMLTableCellElement>>(\n  ({ className, ...props }, ref) => (\n    <td\n      ref={ref}\n      className={cn(\"p-4 align-middle text-white/80 has-[[role=checkbox]]:pr-0\", className)}\n      {...props}\n    />\n  ),\n)\nGlassTableCell.displayName = \"GlassTableCell\"\n\nconst GlassTableCaption = React.forwardRef<HTMLTableCaptionElement, React.HTMLAttributes<HTMLTableCaptionElement>>(\n  ({ className, ...props }, ref) => (\n    <caption ref={ref} className={cn(\"mt-4 text-sm text-white/50\", className)} {...props} />\n  ),\n)\nGlassTableCaption.displayName = \"GlassTableCaption\"\n\nexport {\n  GlassTable,\n  GlassTableHeader,\n  GlassTableBody,\n  GlassTableFooter,\n  GlassTableHead,\n  GlassTableRow,\n  GlassTableCell,\n  GlassTableCaption,\n}\n",
      "type": "registry:component"
    }
  ],
  "type": "registry:component"
}