Data Table
A basic table for compact records and statuses.
Interactive preview · desktop · dark
Installation
Installation is available on the Startup and Business plans. Your personal install command appears here once you have access.
Usage
Import it, pass your props, and make it part of your product.
example.tsx
import { TableBasic } from '@/components/component-kit/items/table-basic';
export function Example() { return ( <TableBasic caption="Team members" rows={[{ id: "1", name: "Alex Morgan" }]} getRowKey={(row) => row.id} columns={[{ key: "name", header: "Name", cell: (row) => row.name }]} /> );}Props
| Prop | Type | Default | Description |
|---|---|---|---|
columns | TableBasicColumn<T>[] | — | Column headers and cell renderers. |
rows | T[] | — | Your table data. |
loading | boolean | false | Show placeholder rows. |