Table
A responsive table component for displaying tabular data.
Examples
| Invoice | Status | Method | Amount |
|---|---|---|---|
| InvoiceINV001 | StatusPaid | MethodCredit Card | Amount$250.00 |
| InvoiceINV002 | StatusPending | MethodPayPal | Amount$150.00 |
| InvoiceINV003 | StatusUnpaid | MethodBank Transfer | Amount$350.00 |
import { Table } from 'kalki-design'
<Table>Click me</Table>Installation
npx kalki-design add tableUsage
import { Table } from 'kalki-design'
export default function Example() {
return <Table />
}API Reference
| Name | Type | Default | Description |
|---|---|---|---|
Namestriped | Typeboolean | Defaultfalse | DescriptionAlternating background colors for rows. |
Namehoverable | Typeboolean | Defaultfalse | DescriptionHighlight rows on hover. |
Namecompact | Typeboolean | Defaultfalse | DescriptionReduces padding inside cells. |
NamestickyHeader | Typeboolean | Defaultfalse | DescriptionFixes header at the top when scrolling. |