Table

A plain, semantic table on a board: grey sentence-case headers, no header band, no zebra rows, numbers right-aligned.

View as Markdown
Today’s fields.
PlotCropStatusYield
Plot 1RiceRipe120 coins
Plot 2Sweet potatoGrowing260 coins
Plot 3Luffa gourdGrowing640 coins
Plot 4BananasRipe380 coins
Total1,400 coins

Installation

npx shadcn@latest add @cozy/table

Usage

import { Table, TableHeader, TableBody, TableFooter, TableRow, TableHead, TableCell, TableCaption } from "@/components/ui/table"

For sorting, filtering, selection and paging use Data Table. Add is-num to numeric cells and their head.