Table 19 – Loading state
- from @shadcncraft
Loading / skeleton state for a data table. Use while data is being fetched: the toolbar and column headers stay in place over shimmering skeleton rows with a loading note in the footer. Prefer to hold the grid's shape during load rather than showing a spinner or blank area. Rows can be reordered by drag and drop via a per-row grip handle.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @shadcncraft/table-19Registry dependencies9
- button
- checkbox
- dropdown-menu
- empty
- input-group
- skeleton
- table
- @shadcncraft/badge
- @shadcncraft/data-table-pagination
