Density & Export
shadcn-table-library/density-export-tableFreeBlock
Compact/comfortable/spacious density toggle, CSV/Excel export, and a print-optimized PDF view via window.print().
Install it
npx shadcn@latest add https://shad-table.dev/r/density-export-table.jsonSource
1'use client'23import type { ColumnDef } from '@tanstack/react-table'45export type Employee = {6 id: string7 name: string8 email: string9 role: string10 status: string11}1213export const columns: ColumnDef<Employee>[] = [14 { accessorKey: 'name', header: 'Name' },15 { accessorKey: 'email', header: 'Email' },16 { accessorKey: 'role', header: 'Role' },17 { accessorKey: 'status', header: 'Status' },18]
What it pulls in
npm packages
Other registry items
Files it writes
More from shadcn-table-library
All 18 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Animated Icons Tableanimated-icons-table | shadcn-table-library | Blocks | Free | 2 deps · 9 files | |
| Comparison Tablecomparison-table | shadcn-table-library | Blocks | Free | 1 dep · 4 files | |
| Data Tabledata-table | shadcn-table-library | Blocks | Free | 1 dep · 4 files | |
| Editable Tableeditable-table | shadcn-table-library | Blocks | Free | 1 dep · 3 files | |
| Grouped Tablegrouped-table | shadcn-table-library | Blocks | Free | 1 dep · 3 files | |
| Heatmap Tableheatmap-table | shadcn-table-library | Blocks | Free | 1 dep · 4 files | |
| Summary / KPI Tablekpi-table | shadcn-table-library | Blocks | Free | 1 dep · 5 files | |
| Live Status Indicatorslive-status-table | shadcn-table-library | Blocks | Free | 1 dep · 4 files |
