MiHCM
data/@mihcm/ui·v0.21.0·stable

Table

Semantic data table with 5 visual variants (default, bordered, striped, minimal, card). Variant context flows to all sub-components automatically.

Live preview

Adjust the controls on the right; the preview and code update in real time.

A list of recent invoices.
InvoiceStatusMethodAmount
INV001PaidCredit Card$250.00
INV002PendingPayPal$150.00
INV003UnpaidBank Transfer$350.00
INV004PaidCredit Card$450.00
INV005PaidPayPal$550.00
example.tsxtsx
import { Table, TableHeader, TableBody, TableRow, TableHead, TableCell } from '@mihcm/ui/Table';

export function Example() {
  return (
    <Table
  variant="default"
  headerTone="default"
    ></Table>
  );
}

Install

Both paths are valid. CLI ships the source into your repo (you own it). Install pins via npm.

npx @mihcm/cli add Table
Copies the source into components/ds/Table.tsx. You own the file. Use --out to override the directory or --force to overwrite.