The Table component is a component that offers a styled table.
Table modifiers
Class
Description
.pui-table
Applied to the table element to define the style standards.
.pui-table--tr-hover
Applied to the starting table element to add the hover effect on table body rows.
.pui-table--td-hover
Applied to the starting table element to add the hover effect on table body cells.
.pui-table--h-borders-none
Removes inner horizontal borders from the table body rows.
.pui-table--ext-borders-none
Removes external borders for the entire table when applied to the .table element.
.pui-table--borders-none
Removes all borders, internal and external, when applied to the .table element.Removes all borders, internal and external, when applied to the .table element.
.pui-table--scrollable
Makes the table body scrollable in the y direction.
Table Examples
Props
Th props
Property
Required
Type
Default
Description
scope
no
oneOf['col', 'row']
'col'
Indicates if the table header is for the row or the column.
Tr props
Property
Required
Type
Default
Description
scope
no
oneOf['col', 'row']
'col'
Indicates if the table header is for the row or the column.