Skip navigation

Components / UI & forms

Table

Semantic table with an optional horizontally scrolling wrapper.

div.table-container > table.table
Try it
Example capability table
ComponentPurpose
CardOne surface with optional regions
FigureMeaningful media and caption
ExhibitArtwork and content composition
<div class="table-container"><table class="table"><caption>Example capability table</caption><thead><tr><th scope="col">Component</th><th scope="col">Purpose</th></tr></thead><tbody><tr><th scope="row">Card</th><td>One surface with optional regions</td></tr><tr><th scope="row">Figure</th><td>Meaningful media and caption</td></tr><tr><th scope="row">Exhibit</th><td>Artwork and content composition</td></tr></tbody></table></div>
Class or attributeWhat it does
is-striped / is-hoverable / is-borderedIndependent row and border treatments.
caption / th[scope]Native table labeling and header associations.