Skip to content

Table

Styled tables with striped, bordered, hoverable, and compact variants.

Basic usage

NameTypeStatus
Item 1FileActive
Item 2FolderInactive
Item 3FileActive
html
<table class="kit-table">
  <thead>
    <tr><th>Name</th><th>Type</th><th>Status</th></tr>
  </thead>
  <tbody>
    <tr><td>Item 1</td><td>File</td><td>Active</td></tr>
    <tr><td>Item 2</td><td>Folder</td><td>Inactive</td></tr>
    <tr><td>Item 3</td><td>File</td><td>Active</td></tr>
  </tbody>
</table>

Striped

NameValue
Row 1Value 1
Row 2Value 2
Row 3Value 3
Row 4Value 4
html
<table class="kit-table -striped">...</table>

Bordered

ABC
123
456
html
<table class="kit-table -bordered">...</table>

Hoverable

NameAction
Hover meRow 1
Hover meRow 2
html
<table class="kit-table -hoverable">...</table>

Compact

IDNameStatus
1Process ARunning
2Process BStopped
3Process CRunning
html
<table class="kit-table -compact -bordered">...</table>

Semantic header colors

NameValue
Item100
html
<table class="kit-table -primary">...</table>

Responsive

Col 1Col 2Col 3Col 4Col 5
DataDataDataDataData
html
<div class="kit-table-responsive">
  <table class="kit-table">...</table>
</div>