Add the base class
.table
to any
<table>
, then extend with our optional modifier classes or custom styles.
| Product Name | Category | Price | Stock | Rating | Status | Actions |
|---|---|---|---|---|---|---|
| Wireless Headphones | Electronics | $99.00 | 120 | 4.5 ★ | Active | |
| Running Shoes | Footwear | $59.99 | 80 | 4.2 ★ | Active | |
| Smartwatch | Wearables | $129.00 | 0 | 4.0 ★ | Out of Stock | |
| Gaming Mouse | Accessories | $39.50 | 250 | 4.7 ★ | Active | |
| Office Chair | Furniture | $149.00 | 35 | 4.3 ★ | Active |
Add the base classes
.table
and
.table-custom
to any
<table>
element to apply custom styling, including spacing for the first and last table cells.
| Product Name | Category | Price | Stock | Rating | Status | Actions |
|---|---|---|---|---|---|---|
| Bluetooth Speaker | Audio | $49.00 | 200 | 4.6 ★ | Active | |
| Leather Wallet | Accessories | $29.99 | 150 | 4.3 ★ | Active | |
| Fitness Tracker | Wearables | $89.00 | 60 | 4.1 ★ | Limited Stock | |
| 4K Monitor | Electronics | $349.00 | 30 | 4.8 ★ | Active | |
| Standing Desk | Furniture | $499.00 | 10 | 4.4 ★ | New |
Use contextual classes to color tables, table rows or individual cells.
| Product Name | Category | Price | Stock | Rating | Status | Actions |
|---|---|---|---|---|---|---|
| Bluetooth Speaker | Audio | $49.00 | 200 | 4.6 ★ | Active | |
| Leather Wallet | Accessories | $29.99 | 150 | 4.3 ★ | Active | |
| Fitness Tracker | Wearables | $89.00 | 60 | 4.1 ★ | Limited Stock | |
| 4K Monitor | Electronics | $349.00 | 30 | 4.8 ★ | Active | |
| Standing Desk | Furniture | $499.00 | 10 | 4.4 ★ | New |
Add
.table-sm
to make any
.table
more compact by cutting all cell
padding
in half.
| Product Name | Category | Price | Stock | Rating |
|---|---|---|---|---|
| Bluetooth Speaker | Audio | $49.00 | 200 | 4.6 ★ |
| Leather Wallet | Accessories | $29.99 | 150 | 4.3 ★ |
| Fitness Tracker | Wearables | $89.00 | 60 | 4.1 ★ |
Add a thicker border, darker between table groups—
<thead>
,
<tbody>
, and
<tfoot>
—with
.table-group-divider
. Customize the color by changing the
border-top-color
(which we don’t currently provide a utility class for at this time).
Border styles, active styles, and table variants are not inherited by nested tables.
Similar to tables and dark tables, use the modifier classes
.table-light
or
.table-dark
to make
<thead>
s appear light or dark gray.
A
<caption>
functions like a heading for a table. It helps users with screen readers to find a table and understand what it’s about and decide if they want to read it.
Easily configure layout, styles, and preferences for your admin interface.