Responsive data tables with hover states, sorting, and mobile-friendly layouts.
Use the table class for basic table styling with borders and hover effects.
| Name | Role | |
|---|---|---|
| John Doe | john@example.com | Admin |
| Jane Smith | jane@example.com | User |
| Bob Johnson | bob@example.com | User |
Add table-bordered for borders on all cells.
| Product | Price | Stock |
|---|---|---|
| Widget A | $29.99 | 150 |
| Widget B | $39.99 | 75 |
Add table-striped for alternating row colors.
| ID | Name | Status |
|---|---|---|
| 001 | Project Alpha | Active |
| 002 | Project Beta | Completed |
| 003 | Project Gamma | Active |
Combine tables with other Thrynd components for rich data displays.
| User | Status | Role | Actions |
|---|---|---|---|
JD John Doe | Active | Admin | |
JS Jane Smith | Pending | User |
Wrap tables in table-responsive for horizontal scrolling on small screens.
| Column 1 | Column 2 | Column 3 | Column 4 | Column 5 |
|---|---|---|---|---|
| Data 1 | Data 2 | Data 3 | Data 4 | Data 5 |
| Name | Value |
|---|---|
| Setting 1 | Enabled |
| Setting 2 | Disabled |
<thead>, <tbody>, and <th> elementsscope attribute to header cells<caption> to describe table contentaria-label for icon-only action buttons