Components
- Accordion
- Alert
- Alert Dialog
- Aspect Ratio
- Avatar
- Badge
- Breadcrumb
- Button
- Button Group
- Calendar
- Card
- Carousel
- Chart
- Checkbox
- Collapsible
- Combobox
- Command
- Context Menu
- Data Table
- Date Picker
- Dialog
- Drawer
- Dropdown Menu
- Hover Card
- Input
- Input OTP
- Kbd
- Label
- Menubar
- Native Select
- Navigation Menu
- Pagination
- Popover
- Progress
- Radio Group
- Resizable
- Scroll Area
- Select
- Separator
- Sheet
- Sidebar
- Skeleton
- Slider
- Sonner
- Spinner
- Switch
- Table
- Tabs
- Textarea
- Toggle
- Toggle Group
- Tooltip
| Status | Amount | |
|---|---|---|
| success | ken99@example.com | $316.00 |
| success | abe45@example.com | $242.00 |
| processing | monserrat@example.com | $837.00 |
| failed | carmella@example.com | $721.00 |
"use client";
import {
flexRender,
getCoreRowModel,
useReactTable,The Data Table is built by composing Table and TanStack Table. There is no separate component to install — add the building blocks and compose them.
Installation
$ pnpm dlx shadcn@latest add https://shadcn-cssinjs.vercel.app/r/table.json
Install the extra dependency:
pnpm add @tanstack/react-tableRTL
To enable right-to-left support, see the RTL guide.
| الحالة | البريد الإلكتروني | المبلغ |
|---|---|---|
| ناجح | ken99@example.com | $316.00 |
| ناجح | abe45@example.com | $242.00 |
| قيد المعالجة | monserrat@example.com | $837.00 |
| فشل | carmella@example.com | $721.00 |
"use client";
import {
flexRender,
getCoreRowModel,
useReactTable,API Reference
The data table is built using TanStack Table. See the TanStack Table documentation for the full API reference.