Table

Table component is used to organize and display data efficiently. It renders a `<table>` element by default

    SourceTheme source@chakra-ui/table

Props#

Table#

colorScheme

Description

The visual color appearance of the component

Type
"whiteAlpha" | "blackAlpha" | "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "cyan" | "purple" | "pink" | "linkedin" | "facebook" | "messenger" | "whatsapp" | "twitter" | "telegram"
Default
gray

layout

Type
string | number | boolean | ResponsiveArray<string | number | boolean | undefined> | Partial<Record<string, string | number | boolean | undefined>> | ((theme: Record<...>) => ResponsiveValue<...>)

size

Description

The size of the Table

Type
"sm" | "md" | "lg"
Default
md

variant

Description

The variant of the Table

Type
"simple" | "striped" | "unstyled"
Default
simple

Td#

Th#

TableCaption#

placement

Description

The placement of the table caption. This sets the `caption-side` CSS attribute.

Type
"bottom" | "top"
Default
bottom
Edit this page on GitHub

Proudly made inNigeria by Segun Adebayo

Deployed by â–² Vercel