Tailwind

Tables

Provides a set of styles for native HTML table elements.

Source Page Source

Demo

Name Symbol Atomic Number
Rhodium Rh 45
Rhodium Rh 45
Zinc Zn 30
Lanthanum La 57
Livermorium Lv 116
Total Elements 5 Elements

Wrap a .table-container element around any native HTML table with the .table class applied to create a responsive table.

Options

Apply classes .table-compact or .table-comfortable to the table for tighter or looser row spacing.

html
<table class="table-compact">...</table>

See Also

A simple data-driven table component.

Tables Component →