👋 This is a community-driven shadcn/ui resource. For the official documentation, visit ui.shadcn.com
Table with Export Options
Data table with export functionality allowing users to download data in CSV, Excel, or PDF formats
Looking to implement shadcn/ui blocks?
Join our Discord community for help from other developers.
Need to share table data with stakeholders or analyze it offline? This React table includes export buttons for CSV, Excel, and PDF formats. Built with shadcn/ui DropdownMenu, clicking the Download icon reveals format options—select one and the browser downloads your data instantly. Works with filtered/sorted views so users export exactly what they see—perfect for reports, analytics dashboards, admin panels, or any interface where data needs to leave the browser for analysis, sharing, or archival.
Installation
npx shadcn@latest add https://www.shadcn.io/registry/table-export-01.jsonnpx shadcn@latest add https://www.shadcn.io/registry/table-export-01.jsonpnpm dlx shadcn@latest add https://www.shadcn.io/registry/table-export-01.jsonbunx shadcn@latest add https://www.shadcn.io/registry/table-export-01.jsonRelated blocks you will also like
Searchable Filterable Data Table
Filter before exporting
Table with Row Selection
Export selected rows only
Table with Sortable Columns
Sort before exporting
Table with Quick Filters
Filter data before export
Table with Column Visibility
Control exported columns
Table with Summary Footer
Export with totals