# Table

Organizes related records into rows and columns for quick comparison. Cells compose freely with other components — checkboxes, avatars, badges, switches, and progress bars.

Package: `@kela-systems/ui-components` 4.1.0

```tsx
import { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption } from "@kela-systems/ui-components";
```

Links (Kela sign-in needed): [Storybook](https://main--6af1efd9453270bb59a6c00c.chromatic.com/?path=/docs/components-table--docs), [Source](https://github.com/Kela-Systems/kela/tree/main/packages/next/ui-components/src/table), [Figma](https://www.figma.com/design/anhlwrbFM6mUiL0klxeK1I/ARK---Design-System?node-id=184-890)

## Props

A `className` on a part adds layout only: placement, sizing and spacing. Pick a look with a variant.

### Table

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `aria-label` | `string` | `Table` | Labels the keyboard-scrollable region that contains the table. |

Also takes the attributes of the HTML element it renders.

### TableHeader

Also takes the attributes of the HTML element it renders.

### TableBody

Also takes the attributes of the HTML element it renders.

### TableFooter

Also takes the attributes of the HTML element it renders.

### TableHead

Also takes the attributes of the HTML element it renders.

### TableRow

Also takes the attributes of the HTML element it renders.

### TableCell

Also takes the attributes of the HTML element it renders.

### TableCaption

Also takes the attributes of the HTML element it renders.
