Tables - Skeleton

Skeleton

  1. tailwind
  2. tables

Tables

Provides a set of styles for native HTML table elements.

0 Fe Iron 26
1 Rh Rhodium 45
2 I Iodine 53
3 Rn Radon 86
4 Tc Technetium 43

Extras

Optionally add a header, footer, and caption.

A list of elements from the periodic table.
Position Symbol Name Weight
0 Fe Iron 26
1 Rh Rhodium 45
2 I Iodine 53
3 Rn Radon 86
4 Tc Technetium 43
Total 5 Elements

Native HTML tables do not support interaction. For accessibility, use anchors or buttons within the last cell.

First Name Last Name Email  
Liam Steele liam@email.com View →
Athena Marks athena@email.com View →
Angela Rivers angela@email.com View →

Layout

See Tailwind’s utility classes for adjusting the table layout algorithm. Apply this to the Table element.

Hover Rows

Add a visual hover effect using the following Tailwind syntax.

<tbody class="[&>tr]:hover:preset-tonal-primary">
...
</tbody>

Pagination

Pair with the Skeleton Pagination component for large data sets.