Table
Accessible data table with sorting, row selection, sticky headers, and density variants.
Preview
example.tsxtsx
| Name | Role | Status |
|---|---|---|
| Ada Lovelace | Admin | active |
| Linus Torvalds | Engineer | invited |
| Grace Hopper | Engineer | active |
| Alan Turing | Admin | paused |
Installation
Install the individual package:
snippet.bashbash
pnpm add @sisyphos-ui/table @sisyphos-ui/coreOr use the umbrella package that bundles everything:
snippet.bashbash
pnpm add @sisyphos-ui/uiUsage
Import the component styles and the component itself:
snippet.tsxtsx
import "@sisyphos-ui/table/styles.css";
import { Table } from "@sisyphos-ui/table";API
Props table is being written. See the package README for the complete API surface.
The full API including refs, ARIA attributes, and HTML passthroughs lives in the package README.