Join our Discord Community
Tables

👋 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.

Loading preview...

Installation

npx shadcn@latest add https://www.shadcn.io/registry/table-export-01.json
npx shadcn@latest add https://www.shadcn.io/registry/table-export-01.json
pnpm dlx shadcn@latest add https://www.shadcn.io/registry/table-export-01.json
bunx shadcn@latest add https://www.shadcn.io/registry/table-export-01.json

Questions you might have