table-auto (content-sized columns) vs table-fixed (equal, predictable columns). This family contains 2 generated classes in Nakshora 3.0.

Classes#

ClassGenerated CSS
table-autotable-layout: auto;
table-fixedtable-layout: fixed;

Example#

example
html
<table class="table-fixed w-full">…</table>

Responsive & variants#

Every class here accepts screen prefixes (sm:xl:) and state variants — md:hover:p-4 style stacks compile to a single media query. See responsive/index|Responsive design and variants/index|Variants.

Best practices#

  • table-fixed + truncate = clean data grids

utilities/tables/table-layout|Table layout