Hextech UI

Table Load More

Live example

Table Load More

Local practice notes
Note
Plan 1
Plan 2
Plan 3

Installation

Terminal
npx shadcn@latest add https://hextech-ui.vercel.app/r/table-load-more.json

API reference

These are the main Table Load More options. See the exported TypeScript types for inherited native or primitive props.

PropTypeDefault
onLoadMore({ signal: AbortSignal }) => void | Promise<void>required
loadKeystring | number0
autoLoad / hasMorebooleantrue
loading / disabledbooleanfalse
colSpannumber1
root / rootMarginElement | Document | null / CSS margin stringnull / 0px
labelsPartial<TableLoadMoreLabels>English labels
cellProps / buttonClassNamenative td props / string—

Usage notes

Change loadKey when the underlying collection resets. Respect the supplied AbortSignal, handle failed loads and prevent duplicate pages. Choose manual loading when automatic loading is inappropriate; keep the load button keyboard accessible.