Skip to content
mdxcn is now part of Shadcn Labs. details

sheet

GraphSheet

A table split into titled sections, like an API reference or an RFC. Write `### Scope` followed by a Markdown table. For a flat table, use Table.

use it
Good when a table needs section titles, like an API, an RFC, or a spec with groups.
instead
A flat table is Table. Label/value rows are Spec.

rfc

[ RFC ]
ItemOwnerStatus
Scope
CLI copies filespriyadone
Docs previewsjonnow
Out of scope
npm package—later
Figma kit—later
<GraphSheet title="RFC">

### Scope

| Item | Owner | Status |
| --- | --- | --- |
| CLI copies files | priya | done |
| Docs previews | jon | now |

### Out of scope

| Item | Owner | Status |
| --- | --- | --- |
| npm package | — | later |
| Figma kit | — | later |

</GraphSheet>

install

command

surface

[ SURFACE ]
NameKindStable
Frame
Graphprimitiveyes
GraphBodyprimitiveyes
Charts
GraphTablecomponentyes
GraphSheetcomponentnew
<GraphSheet title="SURFACE">

### Frame

| Name | Kind | Stable |
| --- | --- | --- |
| Graph | primitive | yes |
| GraphBody | primitive | yes |

### Charts

| Name | Kind | Stable |
| --- | --- | --- |
| GraphTable | component | yes |
| GraphSheet | component | new |

</GraphSheet>
[ PROPS ]
PropTypeDefaultDescription
titlestring—Caption drawn on the top edge of the frame.
headersstring[] | "Item, Owner, Status"—Column headings. Sentence case.
sectionsSheetSection[]—Each section has a title and rows of cells. Optional when children are Markdown.
childrenMarkdown—### Scope | Item | Owner | | --- | --- | | CLI copies files | priya |
footerReactNode[]—Optional totals row under a rule.
align("left" | "right")[] | "left left left"left, then rightPer-column alignment. Defaults to left on the first column.
cornerstring"+"Character at each corner of the frame.
frame"box" | "corners" | "rule" | "none""box"box draws the dashed border. corners keeps only the corner marks. rule draws dashed lines above and below. none drops the border and padding, and puts the title above the content.
classNamestring—Passed to the outer frame.