Documentation

Table

A responsive table component for displaying tabular data.

Examples

InvoiceStatusMethodAmount
InvoiceINV001StatusPaidMethodCredit CardAmount$250.00
InvoiceINV002StatusPendingMethodPayPalAmount$150.00
InvoiceINV003StatusUnpaidMethodBank TransferAmount$350.00
import { Table } from 'kalki-design'

<Table>Click me</Table>

Installation

npx kalki-design add table

Usage

import { Table } from 'kalki-design'

export default function Example() {
  return <Table />
}

API Reference

NameTypeDefaultDescription
NamestripedTypebooleanDefaultfalseDescriptionAlternating background colors for rows.
NamehoverableTypebooleanDefaultfalseDescriptionHighlight rows on hover.
NamecompactTypebooleanDefaultfalseDescriptionReduces padding inside cells.
NamestickyHeaderTypebooleanDefaultfalseDescriptionFixes header at the top when scrolling.