# Shadcn Table Components

A table displays tabular data in rows and columns. All table styles combine easily with Radix UI and Base UI components.

- Page: https://shadcnuikit.com/components/table
- Variants: 12 (12 free, 0 pro)
- Built with shadcn/ui, Tailwind CSS v4, React and Next.js

- [Variant 1](https://shadcnuikit.com/components/table/1) (Free, install: `npx shadcn@latest add @shadcnuikit/table1`)
- [With card](https://shadcnuikit.com/components/table/2) (Free, install: `npx shadcn@latest add @shadcnuikit/table2`)
- [Striped](https://shadcnuikit.com/components/table/3) (Free, install: `npx shadcn@latest add @shadcnuikit/table3`)
- [Selected rows](https://shadcnuikit.com/components/table/4) (Free, install: `npx shadcn@latest add @shadcnuikit/table4`)
- [Without borders](https://shadcnuikit.com/components/table/5) (Free, install: `npx shadcn@latest add @shadcnuikit/table5`)
- [Action column](https://shadcnuikit.com/components/table/6) (Free, install: `npx shadcn@latest add @shadcnuikit/table6`)
- [Sticky column](https://shadcnuikit.com/components/table/7) (Free, install: `npx shadcn@latest add @shadcnuikit/table7`)
- [Sticky header](https://shadcnuikit.com/components/table/8) (Free, install: `npx shadcn@latest add @shadcnuikit/table8`)
- [Sticky header & column](https://shadcnuikit.com/components/table/9) (Free, install: `npx shadcn@latest add @shadcnuikit/table9`)
- [With scroll-area](https://shadcnuikit.com/components/table/10) (Free, install: `npx shadcn@latest add @shadcnuikit/table10`)
- [Selected cells](https://shadcnuikit.com/components/table/11) (Free, install: `npx shadcn@latest add @shadcnuikit/table11`)
- [Selectable row](https://shadcnuikit.com/components/table/12) (Free, install: `npx shadcn@latest add @shadcnuikit/table12`)

## Install with the shadcn CLI

Add the registry to components.json once:

```json
"registries": {
  "@shadcnuikit": {
    "url": "https://shadcnuikit.com/r/{name}.json",
    "headers": {
      "Authorization": "Bearer ${REGISTRY_TOKEN}"
    }
  }
}
```

Then install any item by its registry name, for example `npx shadcn@latest add @shadcnuikit/hero1`. Free items install without an API key. Pro items need a license and an API key from https://shadcnuikit.com/account/api-keys, set as REGISTRY_TOKEN in your .env file.

More from Shadcn UI Kit: [llms.txt](https://shadcnuikit.com/llms.txt)