Components•Table
Components•Table
Table
A structured data surface for comparing rows of account, status, or metric information.
Dependencies
Copy below cli
npx shadcn add @bjork-ui/primitive-tableHow to use
import { BjorkTable } from "@/components/isaiahbjork/primitives";Props
classNamestringPass through styling hooks for the Table primitive without replacing the base Bjork surface.
childrenReactNodeComposable content, labels, icons, and nested content where the primitive supports them.
...propscomponent propsPass through the normal props for this primitive while the Bjork wrapper handles the visual treatment.
| Account | Status | Value |
|---|---|---|
| Northwind | Active | $12,480 |
| Acme | Queued | $8,140 |
| Linear | Review | $6,920 |
Account table
Use when the table itself is the primitive, without filter chrome.
<BjorkTable />