<ui-table>
<ui-table-caption>A list of recent invoices.</ui-table-caption>
<ui-table-header>
<ui-table-row>
<ui-table-head class="w-[100px]">Invoice</ui-table-head>
<ui-table-head>Status</ui-table-head>
<ui-table-head>Method</ui-table-head>
<ui-table-head class="text-right">Amount</ui-table-head>
</ui-table-row>
</ui-table-header>
<ui-table-body>
<ui-table-row>
<ui-table-cell class="font-medium">INV001</ui-table-cell>
<ui-table-cell>Paid</ui-table-cell>
<ui-table-cell>Credit Card</ui-table-cell>
<ui-table-cell class="text-right">$250.00</ui-table-cell>
</ui-table-row>
<ui-table-row>
<ui-table-cell class="font-medium">INV002</ui-table-cell>
<ui-table-cell>Pending</ui-table-cell>
<ui-table-cell>PayPal</ui-table-cell>
<ui-table-cell class="text-right">$150.00</ui-table-cell>
</ui-table-row>
</ui-table-body>
</ui-table>
<ui-table> <ui-table-header> <ui-table-body> <ui-table-footer> <ui-table-row> <ui-table-head> <ui-table-cell> <ui-table-caption>
All components also accept standard HTML attributes (class, id, style, data-*, aria-*, etc.) which are passed through to the underlying element.