4.2.0
CoreTable

Table API

Every prop of the 8 parts Table exports, generated from the package manifest.

import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from '@oceanic-hub/brand-system'
Layer
core — shadcn-derived primitives.
Exports
Table · TableBody · TableCaption · TableCell · TableFooter · TableHead · TableHeader · TableRowtypes: TableRowProps
Contract
packages/brand-system/src/components/table.contract.test-d.ts
Demos
4 on the Table page — rendered live, hydrated
Source
packages/brand-system/src/components/table.tsx

Generated from manifest/component-manifest.json, so it cannot drift from the source. For what Table is for, how it composes and what it looks like, see Table.

Table

A styled <table> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

TableBody

A styled <tbody> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

TableCaption

A styled <caption> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

TableCell

A styled <td> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

TableFooter

A styled <tbody> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

TableHead

A styled <td> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

TableHeader

A styled <tbody> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.

TableRow

TableRowProps

Prop

Type

Also accepts everything from React.HTMLAttributes<HTMLTableRowElement>.

On this page