Edit page

Table

Tables display sets of raw data.

Import Syntax

Basic Usage

Thing 1Thing 2Thing 3
abc
xyz

Alternate Styles

Thing 1Thing 2Thing 3
abc
xyz
blue
Thing 1Thing 2Thing 3
abc
xyz
striped
Thing 1Thing 2Thing 3
abc
xyz
plain
Thing 1Thing 2Thing 3
abc
xyz
blue striped
Thing 1Thing 2Thing 3
abc
xyz
noTable
Thing 1Thing 2Thing 3
abc
xyz
plain justified
Thing 1Thing 2Thing 3
abc
xyz
noCol
Thing 1Thing 2Thing 3
abc
xyz
noRow

Props

Table default

PropertyTypeRequiredDefaultDescription
childrenNodefalse-The content of the component.
blueBoolfalse-A style prop to render a blue Table.
stripedBoolfalse-A style prop to render a Table with striped rows.
plainBoolfalse-A style prop to render Table with no borders or background color.
noTableBoolfalse-A style prop to render Table with no styling.
justifiedBoolfalse-A style prop to remove leading and trailing padding on a Table.
noColBoolfalse-A style prop to render a Table with no column borders.
noRowBoolfalse-A style prop to render a Table with no row borders.

TableBody

PropertyTypeRequiredDefaultDescription
childrenNodefalse-The content of the component.
noColBoolfalse-A style prop to render a TableBody with no column borders.
noRowBoolfalse-A style prop to render a TableBody with no row borders.

TableRow

PropertyTypeRequiredDefaultDescription
childrenNodefalse-The content of the component.
blueBoolfalse-A style prop to render a blue Table.
stripedBoolfalse-A style prop to render a Table with striped rows.
plainBoolfalse-A style prop to render Table with no borders or background color.
noTableBoolfalse-A style prop to render Table with no styling.
noColBoolfalse-A style prop to render a Table with no column borders.
noRowBoolfalse-A style prop to render a Table with no row borders.

TableCell

PropertyTypeRequiredDefaultDescription
childrenNodefalse-The content of the component.

TableHeader

PropertyTypeRequiredDefaultDescription
childrenNodefalse-The content of the component.
noColBoolfalse-A style prop to render a Table with no column borders.
noRowBoolfalse-A style prop to render a Table with no row borders.

TableHeaderRow

PropertyTypeRequiredDefaultDescription
childrenNodefalse-The content of the component.
blueBoolfalse-A style prop to render a blue Table.
plainBoolfalse-A style prop to render Table with no borders or background color.
noColBoolfalse-A style prop to render a Table with no column borders.
noRowBoolfalse-A style prop to render a Table with no row borders.

TableHeaderCell

PropertyTypeRequiredDefaultDescription
childrenNodefalse-The content of the component.