Components

Table

A customizable table for displaying structured data

Logo
NameAgeLocation
John Doe27New York
Jane Smith34California
Sam Lee25New Jersey

Hoverable Rows

Rows highlight when hovered over to improve readability and user experience. Add the hoverable prop to TableRow for this.

NameAgeLocation
John Doe27New York
Jane Smith34California
Sam Lee25New Jersey

Bordered Table

Adds borders around table cells to clearly define rows and columns. Use the bordered prop.

NameAgeLocation
John Doe27New York
Jane Smith34California
Sam Lee25New Jersey

Rounded Table

Applies rounded corners to the table for a softer and modern look. Use the rounded prop.

NameAgeLocation
John Doe27New York
Jane Smith34California
Sam Lee25New Jersey

Raised Table

Gives the table a subtle shadow effect, making it appear elevated. Use the raised prop.

NameAgeLocation
John Doe27New York
Jane Smith34California
Sam Lee25New Jersey

Tinted Header

Applies a background color to the table header to differentiate it from the body. Add the tint prop to TableHead.

NameAgeLocation
John Doe27New York
Jane Smith34California
Sam Lee25New Jersey

Table Without Border

Removes the default table borders, creating a cleaner and more minimalistic look. Use the noBorder prop.

NameAgeLocation
John Doe27New York
Jane Smith34California
Sam Lee25New Jersey

Vertical Thread

Displays dividers between table columns for improved readability. Add the verticalLine prop to TableRow.

NameAgeLocation
John Doe27New York
Jane Smith34California
Sam Lee25New Jersey

Caption

Adds a descriptive caption above the table to provide context.

Users Record
NameAgeLocation
John Doe27New York
Jane Smith34California
Sam Lee25New Jersey

Table

rounded

Type:

boolean

Applies rounded corners to the table for a softer, modern look.

Default:

false
bordered

Type:

boolean

Adds borders around table cells to clearly define rows and columns.

Default:

false
noBorder

Type:

boolean

Removes all table borders for a minimalistic appearance.

Default:

false
raised

Type:

boolean

Applies a subtle shadow effect to the table for an elevated look.

Default:

false
className

Type:

string

Additional CSS classes to style the table.

Default:

mode

Type:

"light" | "dark"

Sets the table’s color mode. Defaults to the system theme.

Default:

System
classNames

Type:

object

Allows customization of specific table elements with custom class names.

Default:

Properties:

container

Type:

string

CSS class for styling the table container.

Default:

TableHead

tint

Type:

boolean

Applies a background color to the table header for better contrast.

Default:

false

TableRow

verticalLine

Type:

boolean

Adds vertical dividers between columns for improved readability.

Default:

false
hoverable

Type:

boolean

Highlights table rows on hover to enhance user experience.

Default:

false