Leave Requests Table 1 – Leave history data table
- from @shadcncraft
A leave request data table: request, dates, type, days, status and requested date, with a filter field, a status filter, density and column-visibility controls, export, row selection with a bulk action bar, sortable request and day columns, row actions and rows-per-page pagination. Includes loading, empty and error states. Built on TanStack Table.
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/leave-requests-table-1Registry dependencies9
- button
- checkbox
- dropdown-menu
- empty
- input-group
- skeleton
- table
- @shadcncraft/badge
- @shadcncraft/data-table-pagination
