Table
A neat presentation of data, whether numbers or (very) short-form text.
Default table orc-c-table
A neat presentation of data, whether numbers or (very) short-form text.
-
<table class="orc-c-table "> <thead class="orc-c-table__header"> <tr class="orc-c-table__header-row"> <th scope="col" class="orc-c-table__header-cell ">Table Heading 1</th> <th scope="col" class="orc-c-table__header-cell ">Table Heading 2</th> </tr> <!-- orc-c-table__header-row --> </thead> <!-- end orc-c-table__header --> <tbody class="orc-c-table__body "> <tr class="orc-c-table__row "> <td class="orc-c-table__cell "> Value </td> <td class="orc-c-table__cell "> Value </td> </tr> <!-- end orc-c-table__row --> <tr class="orc-c-table__row "> <td class="orc-c-table__cell "> Value </td> <td class="orc-c-table__cell "> Value </td> </tr> <!-- end orc-c-table__row --> </tbody> <!-- end orc-c-table__body --> <tfoot class="orc-c-table__footer"> <tr class="orc-c-table__footer-row"> </tr> </tfoot> <!-- end orc-c-table__footer --> </table> <!--end orc-c-table-->
Usage
When to use
Use a table when presenting—and often comparing—several data points at once. The value in each cell should be limited to about 10 characters.
When to consider an alternative
If the content can be showcased more visually, perhaps use a tile list. If there are only two values to present, a split block would do nicely.
| Class Name | Description |
|---|---|
Required
|
Apply to table’s containing |
Required
|
Apply to |
Required
|
Apply to |
Required
|
Apply to |
Required
|
Apply to |
Required
|
Apply to |
Required
|
Apply to |
|
Apply to |
|
Apply to |
|
Apply to |