Loading State

Show skeleton rows while data loads with isLoading.

Show skeleton loaders

Set isLoading while fetching. With no rows, the table fills with skeleton rows. Clear rows when you want a full-table reload.

React TSX
const [rows, setRows] = useState([]);
const [isLoading, setIsLoading] = useState(true);
useEffect(() => {
fetchRows().then((data) => {
setRows(data);
setIsLoading(false);
});
}, []);
<SimpleTable columns={columns} rows={rows} isLoading={isLoading} />

Loading more rows

If rows are already loaded, isLoading keeps them visible and appends skeleton rows below — useful with Pagination and Infinite Scroll.

Example

Scroll to load more and watch skeletons append under existing rows. Use Code or StackBlitz for the full example.

0 rows loaded

Props

Loading State Configuration

PropertyRequiredDescriptionExample
isLoading
boolean
Optional
When true with no rows, shows a full page of skeleton loaders. When true with existing rows, keeps that data visible and appends skeleton rows below. Clear rows for a full-table reload.