Docs
Data Table

Data Table

Powerful table and datagrids built using TanStack Table.

This example is built on top of TanStack Table. However, unlike other Shadcn components, there is no wrapper on top of TanStack Table. Creating such a wrapper would loose all the flexibility that TanStack Table provides. Hence we should start with the basic Table component provided by Shadcn/ui and combine it with TanStack Table. This allows us to build any custom table based on our requirements.

If you find yourself using the same table in multiple places in your app, you can always extract it into a reusable component.

Example

Success
Moses.Miller@gmail.com
$80.00
Failed
Jaeden.Hartmann@gmail.com
$16.00
Failed
Waino0@gmail.com
$66.00
Failed
Elliott.Leffler2@yahoo.com
$100.00
Processing
Brody23@yahoo.com
$53.00
Success
Cody46@yahoo.com
$10.00
Processing
Cecile_Bergnaum94@hotmail.com
$86.00
Success
Ellis_Boyle24@yahoo.com
$57.00
Failed
Jerome_Barton39@yahoo.com
$69.00
Processing
Elvie_Leannon56@hotmail.com
$19.00
0 of 100 row(s) selected.

Rows per page

Page 1 of 10