Skip to content

shadcn Table examples

Semantic table markup with the header, body, row and cell parts styled; the basis of a data table. In our blocks it lays out invoices, orders, users, comparisons and spec sheets: 26 blocks and 95 app screens use it. Every example below is a finished section with real copy, light and dark, that installs with the shadcn CLI.

Blocks built with shadcn Table

Showing 48 of 121. The rest are in their categories: finance and billing (16), dashboards and analytics (13), settings and account (12), commerce (11), data table (9), developer (9) and more.

Questions about shadcn Table

How many blocks use shadcn Table?

121 of ours: 26 blocks and 95 app screens, in 21 categories, most of all finance and billing (16), dashboards and analytics (13), settings and account (12). Each one imports the Table from your own components/ui folder, so it follows your theme.

How do I install shadcn Table?

shadcn/ui’s own component: npx shadcn@latest add table. Our free example: npx shadcn@latest add @themesdev/table, no account needed. A block from this page brings the Table along as a dependency, so you never install it by hand.

Are these examples free?

These come with UI Pro, €199 once for one person (excl. tax). The base table example is free.

Do they work with Next.js and Astro?

Yes. They are React components on shadcn/ui and Tailwind CSS v4, so they run in Next.js, Vite and Astro with React. In Astro they render on the server, and only the parts that need interaction ship JavaScript.

Other shadcn/ui components in our blocks

All shadcn/ui pages

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans