{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "glass-table",
  "title": "Glass Table",
  "author": "Alex Chih (https://alexchih.com)",
  "description": "Data table in the washi editorial register — mono uppercase header, soft row dividers.",
  "registryDependencies": [
    "https://washiveil.alexchih.com/r/theme.json"
  ],
  "files": [
    {
      "path": "registry/washiveil/ui/glass-table.tsx",
      "content": "import * as React from 'react'\n\nimport { cn } from '@/lib/utils'\n\nfunction GlassTable({ className, ...props }: React.ComponentProps<'table'>) {\n  return (\n    <div className=\"overflow-x-auto\">\n      <table className={cn('w-full text-left text-sm', className)} {...props} />\n    </div>\n  )\n}\n\nfunction GlassTableHeader({ className, ...props }: React.ComponentProps<'thead'>) {\n  return <thead className={cn('[&_tr]:border-b [&_tr]:border-border', className)} {...props} />\n}\n\nfunction GlassTableBody({ className, ...props }: React.ComponentProps<'tbody'>) {\n  return <tbody className={cn('[&_tr:last-child]:border-0', className)} {...props} />\n}\n\nfunction GlassTableFooter({ className, ...props }: React.ComponentProps<'tfoot'>) {\n  return <tfoot className={cn('border-t border-border font-medium', className)} {...props} />\n}\n\nfunction GlassTableRow({ className, ...props }: React.ComponentProps<'tr'>) {\n  return (\n    <tr\n      className={cn('border-b border-foreground/10 last:border-0 transition-colors hover:bg-foreground/3', className)}\n      {...props}\n    />\n  )\n}\n\nfunction GlassTableHead({ className, ...props }: React.ComponentProps<'th'>) {\n  return (\n    <th\n      className={cn('py-2 pr-4 font-mono text-[0.75rem] tracking-[0.2em] uppercase text-muted-foreground font-normal', className)}\n      {...props}\n    />\n  )\n}\n\nfunction GlassTableCell({ className, ...props }: React.ComponentProps<'td'>) {\n  return <td className={cn('py-2 pr-4', className)} {...props} />\n}\n\nfunction GlassTableCaption({ className, ...props }: React.ComponentProps<'caption'>) {\n  return <caption className={cn('mt-3 text-xs text-muted-foreground', className)} {...props} />\n}\n\nexport {\n  GlassTable,\n  GlassTableHeader,\n  GlassTableBody,\n  GlassTableFooter,\n  GlassTableRow,\n  GlassTableHead,\n  GlassTableCell,\n  GlassTableCaption,\n}\n",
      "type": "registry:ui"
    }
  ],
  "type": "registry:ui"
}