Tables
Tabular data and captions
Five practical starting points. Explore a live example, then open its exact document in Studio.
Project table
Project table demonstrates tabular data and captions. Edit content, composition and responsive styling in Studio.
| Project | Owner | Status |
|---|---|---|
| Studio redesign | Maya | In review |
| Elements library | Alex | Ready |
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { SigmaUIProvider, Table } from "sigmaui";
import type { TrustedBindings } from "sigmaui";
import "sigmaui/styles.css";
// Supply trusted action callbacks and pricing data from the host application.
// Images retain validated asset URLs. Importing handwritten JSX into Studio is unsupported.
export default function Page({ bindings = {} }: { bindings?: TrustedBindings }) {
return (
<SigmaUIProvider style={{ containerType: "inline-size" }} theme="minimal" mode="light">
<style>{".sigma-export-yu6xyl-41g4fn-ex-84c15d790910-el-206{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-yu6xyl-41g4fn-ex-84c15d790910-el-206 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-yu6xyl-41g4fn-ex-84c15d790910-el-206" data-node="ex-84c15d790910-el-206" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<Table caption={"Project table"} headers={["Project","Owner","Status"]} rows={[["Studio redesign","Maya","In review"],["Elements library","Alex","Ready"]]} />
</div>
</div>
</SigmaUIProvider>
);
}
Team table
Team table demonstrates tabular data and captions. Edit content, composition and responsive styling in Studio.
| Name | Role | Location |
|---|---|---|
| Maya Chen | Designer | Bengaluru |
| Alex Rivera | Engineer | Madrid |
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { SigmaUIProvider, Table } from "sigmaui";
import type { TrustedBindings } from "sigmaui";
import "sigmaui/styles.css";
// Supply trusted action callbacks and pricing data from the host application.
// Images retain validated asset URLs. Importing handwritten JSX into Studio is unsupported.
export default function Page({ bindings = {} }: { bindings?: TrustedBindings }) {
return (
<SigmaUIProvider style={{ containerType: "inline-size" }} theme="minimal" mode="light">
<style>{".sigma-export-1jogyc7-19x10ur-ex-6c9f15a51b31-el-207{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1jogyc7-19x10ur-ex-6c9f15a51b31-el-207 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1jogyc7-19x10ur-ex-6c9f15a51b31-el-207" data-node="ex-6c9f15a51b31-el-207" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"16px","--node-tablet":2} as CSSProperties}>
<Table caption={"Team table"} headers={["Name","Role","Location"]} rows={[["Maya Chen","Designer","Bengaluru"],["Alex Rivera","Engineer","Madrid"]]} />
</div>
</div>
</SigmaUIProvider>
);
}
Inventory table
Inventory table demonstrates tabular data and captions. Edit content, composition and responsive styling in Studio.
| Product | Stock | Status |
|---|---|---|
| Arc headphones | 24 | Available |
| Travel case | 0 | Backorder |
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { SigmaUIProvider, Table } from "sigmaui";
import type { TrustedBindings } from "sigmaui";
import "sigmaui/styles.css";
// Supply trusted action callbacks and pricing data from the host application.
// Images retain validated asset URLs. Importing handwritten JSX into Studio is unsupported.
export default function Page({ bindings = {} }: { bindings?: TrustedBindings }) {
return (
<SigmaUIProvider style={{ containerType: "inline-size" }} theme="minimal" mode="light">
<style>{".sigma-export-y7641x-1v2ahv7-ex-c05c318cd535-el-208{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-y7641x-1v2ahv7-ex-c05c318cd535-el-208 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-y7641x-1v2ahv7-ex-c05c318cd535-el-208" data-node="ex-c05c318cd535-el-208" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<Table caption={"Inventory table"} headers={["Product","Stock","Status"]} rows={[["Arc headphones","24","Available"],["Travel case","0","Backorder"]]} />
</div>
</div>
</SigmaUIProvider>
);
}
Report table
Report table demonstrates tabular data and captions. Edit content, composition and responsive styling in Studio.
| Period | Views | Growth |
|---|---|---|
| September | 2,480 | 12% |
| October | 2,840 | 18% |
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { SigmaUIProvider, Table } from "sigmaui";
import type { TrustedBindings } from "sigmaui";
import "sigmaui/styles.css";
// Supply trusted action callbacks and pricing data from the host application.
// Images retain validated asset URLs. Importing handwritten JSX into Studio is unsupported.
export default function Page({ bindings = {} }: { bindings?: TrustedBindings }) {
return (
<SigmaUIProvider style={{ containerType: "inline-size" }} theme="minimal" mode="light">
<style>{".sigma-export-14icow7-abnac3-ex-70c226d02050-el-209{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-14icow7-abnac3-ex-70c226d02050-el-209 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-14icow7-abnac3-ex-70c226d02050-el-209" data-node="ex-70c226d02050-el-209" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"32px","--node-tablet":2} as CSSProperties}>
<Table caption={"Report table"} headers={["Period","Views","Growth"]} rows={[["September","2,480","12%"],["October","2,840","18%"]]} />
</div>
</div>
</SigmaUIProvider>
);
}
Compact comparison
Compact comparison demonstrates tabular data and captions. Edit content, composition and responsive styling in Studio.
| Feature | Starter | Studio |
|---|---|---|
| Local drafts | Yes | Yes |
| Exports | JSON | React + JSON |
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { SigmaUIProvider, Table } from "sigmaui";
import type { TrustedBindings } from "sigmaui";
import "sigmaui/styles.css";
// Supply trusted action callbacks and pricing data from the host application.
// Images retain validated asset URLs. Importing handwritten JSX into Studio is unsupported.
export default function Page({ bindings = {} }: { bindings?: TrustedBindings }) {
return (
<SigmaUIProvider style={{ containerType: "inline-size" }} theme="minimal" mode="light">
<style>{".sigma-export-1gu6i2b-1ey1i4z-ex-f1c30d8726de-el-210{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1gu6i2b-1ey1i4z-ex-f1c30d8726de-el-210 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1gu6i2b-1ey1i4z-ex-f1c30d8726de-el-210" data-node="ex-f1c30d8726de-el-210" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"12px","--node-tablet":2} as CSSProperties}>
<Table caption={"Compact comparison"} headers={["Feature","Starter","Studio"]} rows={[["Local drafts","Yes","Yes"],["Exports","JSON","React + JSON"]]} />
</div>
</div>
</SigmaUIProvider>
);
}
Protected properties
binding, id, type, version, role, intent. Trusted host bindings remain protected.
Composition & accessibility
Uses the shared primitive contract. Use meaningful labels and a logical heading hierarchy. Interactive submissions are simulated locally.