Data table styles with responsive scrolling and consistent cell styling.
Example table
Users
| Uma Patel |
uma@example.com |
about 2 months ago |
about 2 months ago |
Edit |
| Victor Hall |
victor@example.com |
about 2 months ago |
about 2 months ago |
Edit |
| Wendy Young |
wendy@example.com |
about 2 months ago |
about 2 months ago |
Edit |
| Xavier King |
xavier@example.com |
about 2 months ago |
about 2 months ago |
Edit |
| Yara Scott |
yara@example.com |
about 2 months ago |
about 2 months ago |
Edit |
CSS classes
Table CSS classes
l-ui-table-container |
Scrollable container for responsive tables |
l-ui-table |
Base table styling |
l-ui-table__header |
Table header section |
l-ui-table__header-cell |
Header cell styling |
l-ui-table__body |
Table body section |
l-ui-table__cell |
Standard data cell |
l-ui-table__cell l-ui-table__cell--primary |
Primary cell (first column, links) |
l-ui-table__header-cell l-ui-table__header-cell--action |
Right-aligned header cell for action columns |
l-ui-table__cell l-ui-table__cell--action |
Actions cell (right-aligned) |
l-ui-table__action--danger |
Danger styling for destructive actions (used on links or buttons within action cells) |
l-ui-table__header-cell--sortable |
Header cell containing a sort link (applied automatically by l_ui_sort_link) |
l-ui-table__sort-link |
Styled sort link inside a sortable header cell |
l-ui-table__sort-indicator |
Sort direction indicator (▲/▼) shown next to the active sort link |