Basic table
Table with images
Table without horizontal dividers
Striped table
Table with vertical lines
Dense table
Table with row selection
Card Table
Vertical table
Table with sticky header
Basic data table made with TanStack Table
Data table with filters made with TanStack Table
Resizable and sortable columns made with TanStack Table
Pinnable columns made with TanStack Table
Draggable columns made with TanStack Table and dnd kit
Expanding sub-row made with TanStack Table
{table.getState().pagination.pageIndex * table.getState().pagination.pageSize + 1} - {Math.min( Math.max( table.getState().pagination.pageIndex * table.getState().pagination.pageSize + table.getState().pagination.pageSize, 0 ), table.getRowCount() )} of {table.getRowCount().toString()}
Paginated table made with TanStack Table
Page {table.getState().pagination.pageIndex + 1} of {table.getPageCount()}
empty
{/each} {#if paginated.showRightEllipsis}Numeric pagination made with TanStack Table
{table.getState().pagination.pageIndex * table.getState().pagination.pageSize + 1}-{Math.min( Math.max( table.getState().pagination.pageIndex * table.getState().pagination.pageSize + table.getState().pagination.pageSize, 0 ), table.getRowCount() )} of {table.getRowCount().toString()}
Example of a more complex table made with TanStack Table