Table

Basic Usage

Tables are used to organize and display data in a structured format.

Name
Email
Status
John Doejohn@example.comactive
Jane Smithjane@example.comactive
Bob Johnsonbob@example.cominactive
Alice Brownalice@example.comactive

Variants

Tables come in different variants to match your design needs.

Default

Name
Email
Status
John Doejohn@example.comactive
Jane Smithjane@example.comactive
Bob Johnsonbob@example.cominactive
Alice Brownalice@example.comactive

Striped

Name
Email
Status
John Doejohn@example.comactive
Jane Smithjane@example.comactive
Bob Johnsonbob@example.cominactive
Alice Brownalice@example.comactive

Bordered

Name
Email
Status
John Doejohn@example.comactive
Jane Smithjane@example.comactive
Bob Johnsonbob@example.cominactive
Alice Brownalice@example.comactive

Sizes

Tables can be rendered in different sizes.

Small

Name
Email
Status
John Doejohn@example.comactive
Jane Smithjane@example.comactive
Bob Johnsonbob@example.cominactive
Alice Brownalice@example.comactive

Medium (Default)

Name
Email
Status
John Doejohn@example.comactive
Jane Smithjane@example.comactive
Bob Johnsonbob@example.cominactive
Alice Brownalice@example.comactive

Large

Name
Email
Status
John Doejohn@example.comactive
Jane Smithjane@example.comactive
Bob Johnsonbob@example.cominactive
Alice Brownalice@example.comactive

Advanced Features

Tables support sorting, custom rendering, and row actions.

Name
Email
Status
Join Date
John Doejohn@example.comactive1/15/2024
Jane Smithjane@example.comactive2/1/2024
Bob Johnsonbob@example.cominactive1/20/2024
Alice Brownalice@example.comactive2/10/2024

Loading State

Tables display a loading indicator while data is being fetched.

Empty State

Tables show a message when there is no data to display.

Name
Email
Status
No users found