Game One

Table

Table primitive with Game One tokens and hard-border styling.

ComponentStatus
ButtonReady
SidebarReady

Installation

npx shadcn@latest add @gameone/table

Registry dependencies: gameone-utils

Usage

Import
import {
  Table,
  TableBody,
  TableCell,
  TableHead,
  TableHeader,
  TableRow,
} from "@/components/ui/table"
Example
<Table>
  <TableHeader>
    <TableRow>
      <TableHead>Name</TableHead>
      <TableHead>Status</TableHead>
    </TableRow>
  </TableHeader>
  <TableBody>
    <TableRow>
      <TableCell>Button</TableCell>
      <TableCell>Ready</TableCell>
    </TableRow>
  </TableBody>
</Table>