Blokd UIDocsv1.1.0

Docs / Component reference

Table

Lay out records under shared column headings when readers need to compare the same field across rows.

Table example

Install

sh
npx @fierst/blokd-ui@1.1.0 add table

Registry dependencies: theme.

Exports from ./ui/table: Table, TableHeader, TableBody, TableRow, TableHead, TableCell, TableCaption.

Download the registry source for table 1.1.0.

API contracts

ts
export function Table(props: { class?: string; children?: View })

export function TableHeader(props: { children?: View })

export function TableBody(props: { children?: View })

export function TableRow(props: { children?: View })

export function TableHead(props: { numeric?: boolean; children?: View })

export function TableCell(props: { numeric?: boolean; children?: View })

export function TableCaption(props: { children?: View })