Develop ultra fast with Prismane 🎉

Table API

Learn about the Table component's props and CSS classes.

Import

import {
  TableProps,
  TableBodyProps,
  TableCaptionProps,
  TableCellProps,
  TableFootProps,
  TableHeadProps,
  TableRowProps,
} from "@prismane/core";

Props

Table

Table extends Box component's props.

Table.Row

Table.Row extends Box component's props.

Table.Cell

Table.Cell extends Box component's props.

Table.Head

Table.Head extends Box component's props.

Table.Foot

Table.Foot extends Box component's props.

Table.Body

Table.Body extends Box component's props.

Table.Caption

Table.Caption extends Box component's props.

NameTypeDescriptionDefault
placementbottom / topThe placement of the table caption element.bottom

CSS

Table

Table extends Box component's CSS classes.

RuleGlobal ClassDescription
root.PrismaneTable-rootThe container of the table component.

Table.Row

Table.Row extends Box component's CSS classes.

RuleGlobal ClassDescription
root.PrismaneTableRow-rootThe container of the table row component.

Table.Cell

Table.Cell extends Box component's CSS classes.

RuleGlobal ClassDescription
root.PrismaneTableCell-rootThe container of the table cell component.

Table.Head

Table.Head extends Box component's CSS classes.

RuleGlobal ClassDescription
root.PrismaneTableHead-rootThe container of the table head component.

Table.Foot

Table.Foot extends Box component's CSS classes.

RuleGlobal ClassDescription
root.PrismaneTableFoot-rootThe container of the table foot component.

Table.Body

Table.Body extends Box component's CSS classes.

RuleGlobal ClassDescription
root.PrismaneTableBody-rootThe container of the table body component.

Table.Caption

Table.Caption extends Box component's CSS classes.

RuleGlobal ClassDescription
root.PrismaneTableCaption-rootThe container of the table caption component.