Table

The Table system provides structured data presentation with consistent styling and various size options. It's designed to display information in a clear, scannable format while maintaining visual hierarchy.

Base Structure

Tables are built using standard HTML table elements with additional classes for styling. The base structure includes headers and data cells with consistent spacing and typography.

Default Table

The table class provides the standard table styling with comfortable spacing and clear visual hierarchy.

EmployeeRolePranksSalesScoreFun Fact
1Dwight SchruteAssistant to the Regional Manager244412.91Owns a beet farm
2Jim HalpertSales Rep42218.69Dwight hates him
3Stanley HudsonSales Rep0285.83Only smiles on Pretzel Day
4Phyllis VanceSales Rep0183.79Married to Bob Vance
5Andy BernardSales Rep2143.18Cornell graduate
6Creed BrattonQuality Assurance????????????
7Karen FilippelliSales / Utica Manager0122.57Jim’s ex from Stamford
8Michael ScottRegional Manager1501.65World’s Best Boss mug
9Todd PackerTraveling Salesman061.34Terrible human being
10Ryan HowardTemp / VP / Janitor120.63Pitched the Sabre Pyramid
11Pam BeeslyReceptionist / Office Admin300.43Art school dreamer
12Meredith PalmerSupplier Relations010.32Exchanged paper for steak
13Holly FlaxHR (Nashua)200.32Michael’s soulmate
14Darryl PhilbinWarehouse Foreman100.22Started a band
15Kevin MaloneAccountant100.22Spilled the chili
16Erin HannonReceptionist100.22Dates Gabe, then Andy
17Kelly KapoorCustomer Service000.00Obsessed with Ryan
18Angela MartinAccountant000.00Owns 12 cats
19Oscar MartinezAccountant000.00“Actually...” guy
20Roy AndersonWarehouse000.00Pam’s ex-fiancé
21Toby FlendersonHR000.00Michael hates him
22Jan LevinsonCorporate000.00Serenity by Jan
23David WallaceCFO000.00Invented “Suck It”
24Robert CaliforniaCEO000.00The Lizard King
25Nellie BertramSpecial Projects Manager000.00Took Andy’s job
26Deangelo VickersRegional Manager000.00Juggled invisible balls
27Charles MinerCorporate VP000.00Hated Jim’s pranks
28Gabe LewisSabre Liaison000.00Tall, awkward, hates horror movies
29Clark GreenSales000.00Mini Dwight
30Pete MillerSales000.00Nickname: Plop
Table Regular
<table class="table" data-table-limit="true">
  <thead>
    <tr>
      <th><span class="title">#</span></th>
      <th><span class="title">Employee</span></th>
      <th><span class="title">Role</span></th>
      <th><span class="title">Pranks</span></th>
      <th><span class="title">Sales</span></th>
      <th><span class="title">Score</span></th>
      <th><span class="title">Fun Fact</span></th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="label label--small">Row 1, Cell 1</span></td>
      <td><span class="label">Row 1, Cell 2</span></td>
      <td><span class="label label--small">Row 1, Cell 3</span></td>
    </tr>
  </tbody>
</table>

Size Variants

Tables support four sizes: Large, Regular (default), Small, and XSmall. Use modifier classes to change row heights.

Large Table

Use table--large to increase row heights for more spacious tables.

EmployeeRolePranksSalesScoreFun Fact
1Dwight SchruteAssistant to the Regional Manager244412.91Owns a beet farm
2Jim HalpertSales Rep42218.69Dwight hates him
3Stanley HudsonSales Rep0285.83Only smiles on Pretzel Day
4Phyllis VanceSales Rep0183.79Married to Bob Vance
5Andy BernardSales Rep2143.18Cornell graduate
6Creed BrattonQuality Assurance????????????
7Karen FilippelliSales / Utica Manager0122.57Jim’s ex from Stamford
8Michael ScottRegional Manager1501.65World’s Best Boss mug
9Todd PackerTraveling Salesman061.34Terrible human being
10Ryan HowardTemp / VP / Janitor120.63Pitched the Sabre Pyramid
11Pam BeeslyReceptionist / Office Admin300.43Art school dreamer
12Meredith PalmerSupplier Relations010.32Exchanged paper for steak
13Holly FlaxHR (Nashua)200.32Michael’s soulmate
14Darryl PhilbinWarehouse Foreman100.22Started a band
15Kevin MaloneAccountant100.22Spilled the chili
16Erin HannonReceptionist100.22Dates Gabe, then Andy
17Kelly KapoorCustomer Service000.00Obsessed with Ryan
18Angela MartinAccountant000.00Owns 12 cats
19Oscar MartinezAccountant000.00“Actually...” guy
20Roy AndersonWarehouse000.00Pam’s ex-fiancé
21Toby FlendersonHR000.00Michael hates him
22Jan LevinsonCorporate000.00Serenity by Jan
23David WallaceCFO000.00Invented “Suck It”
24Robert CaliforniaCEO000.00The Lizard King
25Nellie BertramSpecial Projects Manager000.00Took Andy’s job
26Deangelo VickersRegional Manager000.00Juggled invisible balls
27Charles MinerCorporate VP000.00Hated Jim’s pranks
28Gabe LewisSabre Liaison000.00Tall, awkward, hates horror movies
29Clark GreenSales000.00Mini Dwight
30Pete MillerSales000.00Nickname: Plop
Table Large
<table class="table table--large" data-table-limit="true">
  <thead>
    <tr>
      <th><span class="title">#</span></th>
      <th><span class="title">Employee</span></th>
      <th><span class="title">Role</span></th>
      <th><span class="title">Pranks</span></th>
      <th><span class="title">Sales</span></th>
      <th><span class="title">Score</span></th>
      <th><span class="title">Fun Fact</span></th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="label label--small">Row 1, Cell 1</span></td>
      <td><span class="label">Row 1, Cell 2</span></td>
      <td><span class="label label--small">Row 1, Cell 3</span></td>
    </tr>
  </tbody>
</table>

Small Table

Use table--small for a compact table with reduced row heights. The older table--condensed class remains supported as a backward-compatible alias.

EmployeeRolePranksSalesScoreFun Fact
1Dwight SchruteAssistant to the Regional Manager244412.91Owns a beet farm
2Jim HalpertSales Rep42218.69Dwight hates him
3Stanley HudsonSales Rep0285.83Only smiles on Pretzel Day
4Phyllis VanceSales Rep0183.79Married to Bob Vance
5Andy BernardSales Rep2143.18Cornell graduate
6Creed BrattonQuality Assurance????????????
7Karen FilippelliSales / Utica Manager0122.57Jim’s ex from Stamford
8Michael ScottRegional Manager1501.65World’s Best Boss mug
9Todd PackerTraveling Salesman061.34Terrible human being
10Ryan HowardTemp / VP / Janitor120.63Pitched the Sabre Pyramid
11Pam BeeslyReceptionist / Office Admin300.43Art school dreamer
12Meredith PalmerSupplier Relations010.32Exchanged paper for steak
13Holly FlaxHR (Nashua)200.32Michael’s soulmate
14Darryl PhilbinWarehouse Foreman100.22Started a band
15Kevin MaloneAccountant100.22Spilled the chili
16Erin HannonReceptionist100.22Dates Gabe, then Andy
17Kelly KapoorCustomer Service000.00Obsessed with Ryan
18Angela MartinAccountant000.00Owns 12 cats
19Oscar MartinezAccountant000.00“Actually...” guy
20Roy AndersonWarehouse000.00Pam’s ex-fiancé
21Toby FlendersonHR000.00Michael hates him
22Jan LevinsonCorporate000.00Serenity by Jan
23David WallaceCFO000.00Invented “Suck It”
24Robert CaliforniaCEO000.00The Lizard King
25Nellie BertramSpecial Projects Manager000.00Took Andy’s job
26Deangelo VickersRegional Manager000.00Juggled invisible balls
27Charles MinerCorporate VP000.00Hated Jim’s pranks
28Gabe LewisSabre Liaison000.00Tall, awkward, hates horror movies
29Clark GreenSales000.00Mini Dwight
30Pete MillerSales000.00Nickname: Plop
Table Small
<table class="table table--small" data-table-limit="true">
  <thead>
    <tr>
      <th><span class="title title--small">#</span></th>
      <th><span class="title title--small">Employee</span></th>
      <th><span class="title title--small">Role</span></th>
      <th><span class="title title--small">Pranks</span></th>
      <th><span class="title title--small">Sales</span></th>
      <th><span class="title title--small">Score</span></th>
      <th><span class="title title--small">Fun Fact</span></th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="label label--small">Row 1, Cell 1</span></td>
      <td><span class="label">Row 1, Cell 2</span></td>
      <td><span class="label label--small">Row 1, Cell 3</span></td>
    </tr>
  </tbody>
</table>

XSmall Table

Use table--xsmall for the most compact row heights.

EmployeeRolePranksSalesScoreFun Fact
1Dwight SchruteAssistant to the Regional Manager244412.91Owns a beet farm
2Jim HalpertSales Rep42218.69Dwight hates him
3Stanley HudsonSales Rep0285.83Only smiles on Pretzel Day
4Phyllis VanceSales Rep0183.79Married to Bob Vance
5Andy BernardSales Rep2143.18Cornell graduate
6Creed BrattonQuality Assurance????????????
7Karen FilippelliSales / Utica Manager0122.57Jim’s ex from Stamford
8Michael ScottRegional Manager1501.65World’s Best Boss mug
9Todd PackerTraveling Salesman061.34Terrible human being
10Ryan HowardTemp / VP / Janitor120.63Pitched the Sabre Pyramid
11Pam BeeslyReceptionist / Office Admin300.43Art school dreamer
12Meredith PalmerSupplier Relations010.32Exchanged paper for steak
13Holly FlaxHR (Nashua)200.32Michael’s soulmate
14Darryl PhilbinWarehouse Foreman100.22Started a band
15Kevin MaloneAccountant100.22Spilled the chili
16Erin HannonReceptionist100.22Dates Gabe, then Andy
17Kelly KapoorCustomer Service000.00Obsessed with Ryan
18Angela MartinAccountant000.00Owns 12 cats
19Oscar MartinezAccountant000.00“Actually...” guy
20Roy AndersonWarehouse000.00Pam’s ex-fiancé
21Toby FlendersonHR000.00Michael hates him
22Jan LevinsonCorporate000.00Serenity by Jan
23David WallaceCFO000.00Invented “Suck It”
24Robert CaliforniaCEO000.00The Lizard King
25Nellie BertramSpecial Projects Manager000.00Took Andy’s job
26Deangelo VickersRegional Manager000.00Juggled invisible balls
27Charles MinerCorporate VP000.00Hated Jim’s pranks
28Gabe LewisSabre Liaison000.00Tall, awkward, hates horror movies
29Clark GreenSales000.00Mini Dwight
30Pete MillerSales000.00Nickname: Plop
Table XSmall
<table class="table table--xsmall" data-table-limit="true">
  <thead>
    <tr>
      <th><span class="title title--small">#</span></th>
      <th><span class="title title--small">Employee</span></th>
      <th><span class="title title--small">Role</span></th>
      <th><span class="title title--small">Pranks</span></th>
      <th><span class="title title--small">Sales</span></th>
      <th><span class="title title--small">Score</span></th>
      <th><span class="title title--small">Fun Fact</span></th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="label label--small">Row 1, Cell 1</span></td>
      <td><span class="label label--small">Row 1, Cell 2</span></td>
      <td><span class="label label--small">Row 1, Cell 3</span></td>
    </tr>
  </tbody>
</table>

Overflow Engine

Demonstrates the overflow behavior and trailing “and X more” row when content exceeds the height budget.

EmployeeRolePranksSalesScoreFun Fact
1Dwight SchruteAssistant to the Regional Manager244412.91Owns a beet farm
2Jim HalpertSales Rep42218.69Dwight hates him
3Stanley HudsonSales Rep0285.83Only smiles on Pretzel Day
4Phyllis VanceSales Rep0183.79Married to Bob Vance
5Andy BernardSales Rep2143.18Cornell graduate
6Creed BrattonQuality Assurance????????????
7Karen FilippelliSales / Utica Manager0122.57Jim’s ex from Stamford
8Michael ScottRegional Manager1501.65World’s Best Boss mug
9Todd PackerTraveling Salesman061.34Terrible human being
10Ryan HowardTemp / VP / Janitor120.63Pitched the Sabre Pyramid
11Pam BeeslyReceptionist / Office Admin300.43Art school dreamer
12Meredith PalmerSupplier Relations010.32Exchanged paper for steak
13Holly FlaxHR (Nashua)200.32Michael’s soulmate
14Darryl PhilbinWarehouse Foreman100.22Started a band
15Kevin MaloneAccountant100.22Spilled the chili
16Erin HannonReceptionist100.22Dates Gabe, then Andy
17Kelly KapoorCustomer Service000.00Obsessed with Ryan
18Angela MartinAccountant000.00Owns 12 cats
19Oscar MartinezAccountant000.00“Actually...” guy
20Roy AndersonWarehouse000.00Pam’s ex-fiancé
21Toby FlendersonHR000.00Michael hates him
22Jan LevinsonCorporate000.00Serenity by Jan
23David WallaceCFO000.00Invented “Suck It”
24Robert CaliforniaCEO000.00The Lizard King
25Nellie BertramSpecial Projects Manager000.00Took Andy’s job
26Deangelo VickersRegional Manager000.00Juggled invisible balls
27Charles MinerCorporate VP000.00Hated Jim’s pranks
28Gabe LewisSabre Liaison000.00Tall, awkward, hates horror movies
29Clark GreenSales000.00Mini Dwight
30Pete MillerSales000.00Nickname: Plop
Table Overflow
<table class="table" data-table-limit="true">
  <thead>
    <tr>
      <th><span class="title">#</span></th>
      <th><span class="title">Employee</span></th>
      <th><span class="title">Role</span></th>
      <th><span class="title">Pranks</span></th>
      <th><span class="title">Sales</span></th>
      <th><span class="title">Score</span></th>
      <th><span class="title">Fun Fact</span></th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="label label--small">Row 1, Cell 1</span></td>
      <td><span class="label">Row 1, Cell 2</span></td>
      <td><span class="label label--small">Row 1, Cell 3</span></td>
    </tr>
  </tbody>
</table>

Clamp Engine

Apply data-clamp to each cell’s content to ensure consistent single-line truncation with ellipsis. This works with the Table Overflow behavior and is handled by the Clamp engine.

EmployeeRolePranksSalesScoreFun Fact
1Dwight SchruteAssistant to the Regional Manager244412.91Owns a beet farm
2Jim HalpertSales Rep42218.69Dwight hates him
3Stanley HudsonSales Rep0285.83Only smiles on Pretzel Day
4Phyllis VanceSales Rep0183.79Married to Bob Vance
5Andy BernardSales Rep2143.18Cornell graduate
6Creed BrattonQuality Assurance????????????
7Karen FilippelliSales / Utica Manager0122.57Jim’s ex from Stamford
8Michael ScottRegional Manager1501.65World’s Best Boss mug
9Todd PackerTraveling Salesman061.34Terrible human being
10Ryan HowardTemp / VP / Janitor120.63Pitched the Sabre Pyramid
11Pam BeeslyReceptionist / Office Admin300.43Art school dreamer
12Meredith PalmerSupplier Relations010.32Exchanged paper for steak
13Holly FlaxHR (Nashua)200.32Michael’s soulmate
14Darryl PhilbinWarehouse Foreman100.22Started a band
15Kevin MaloneAccountant100.22Spilled the chili
16Erin HannonReceptionist100.22Dates Gabe, then Andy
17Kelly KapoorCustomer Service000.00Obsessed with Ryan
18Angela MartinAccountant000.00Owns 12 cats
19Oscar MartinezAccountant000.00“Actually...” guy
20Roy AndersonWarehouse000.00Pam’s ex-fiancé
21Toby FlendersonHR000.00Michael hates him
22Jan LevinsonCorporate000.00Serenity by Jan
23David WallaceCFO000.00Invented “Suck It”
24Robert CaliforniaCEO000.00The Lizard King
25Nellie BertramSpecial Projects Manager000.00Took Andy’s job
26Deangelo VickersRegional Manager000.00Juggled invisible balls
27Charles MinerCorporate VP000.00Hated Jim’s pranks
28Gabe LewisSabre Liaison000.00Tall, awkward, hates horror movies
29Clark GreenSales000.00Mini Dwight
30Pete MillerSales000.00Nickname: Plop
Table Clamp: 1 line
<table class="table" data-table-limit="true">
  <thead>
    <tr>
      <th><span class="title">#</span></th>
      <th><span class="title">Employee</span></th>
      <th><span class="title">Role</span></th>
      <th><span class="title">Pranks</span></th>
      <th><span class="title">Sales</span></th>
      <th><span class="title">Score</span></th>
      <th><span class="title">Fun Fact</span></th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="label label--small" data-clamp="1">Row 1, Cell 1</span></td>
      <td><span class="label" data-clamp="1">Row 1, Cell 2</span></td>
      <td><span class="label label--small" data-clamp="1">Row 1, Cell 3</span></td>
    </tr>
  </tbody>
</table>