Table


Last updated: 9/21/21

Use a Table to display data.

Base

Use the base class pier-table to wrap thead and tbody elements. Element class pier-table__row should wrap either element classes pier-table__header or pier-table__cell depending if they are inside of the thead or tbody.

Name Email Age
Pete Pink pink@yahoo.com 23
Blair Blue blue@yahoo.com 32
Vicky Violet violet@yahoo.com 18

HTML markup

Sizes

Use the modifier classes pier-table--sm, pier-table--md, or pier-table--lg to change the size of the Table.

Name Email Age
Pete Pink pink@yahoo.com 23
Blair Blue blue@yahoo.com 32
Vicky Violet violet@yahoo.com 18
Name Email Age
Pete Pink pink@yahoo.com 23
Blair Blue blue@yahoo.com 32
Vicky Violet violet@yahoo.com 18
Name Email Age
Pete Pink pink@yahoo.com 23
Blair Blue blue@yahoo.com 32
Vicky Violet violet@yahoo.com 18

HTML markup

Striped

Use the modifier class pier-table--striped to change the style of the Table to striped.

Name Email Age
Pete Pink pink@yahoo.com 23
Blair Blue blue@yahoo.com 32
Vicky Violet violet@yahoo.com 18

HTML markup

Dark

Use the modifier class pier-table--dark to change the style of the Table for dark UI themes.

Name Email Age
Pete Pink pink@yahoo.com 23
Blair Blue blue@yahoo.com 32
Vicky Violet violet@yahoo.com 18
Name Email Age
Pete Pink pink@yahoo.com 23
Blair Blue blue@yahoo.com 32
Vicky Violet violet@yahoo.com 18

HTML markup


© 2021 Gumgum, Inc.