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.
rfc
| Item | Owner | Status |
|---|---|---|
| Scope | ||
| CLI copies files | priya | done |
| Docs previews | jon | now |
| 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
| Name | Kind | Stable |
|---|---|---|
| Frame | ||
| Graph | primitive | yes |
| GraphBody | primitive | yes |
| Charts | ||
| GraphTable | component | yes |
| GraphSheet | component | new |
<GraphSheet title="SURFACE">
### Frame
| Name | Kind | Stable |
| --- | --- | --- |
| Graph | primitive | yes |
| GraphBody | primitive | yes |
### Charts
| Name | Kind | Stable |
| --- | --- | --- |
| GraphTable | component | yes |
| GraphSheet | component | new |
</GraphSheet>| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Caption drawn on the top edge of the frame. |
| headers | string[] | "Item, Owner, Status" | — | Column headings. Sentence case. |
| sections | SheetSection[] | — | Each section has a title and rows of cells. Optional when children are Markdown. |
| children | Markdown | — | ### Scope | Item | Owner | | --- | --- | | CLI copies files | priya | |
| footer | ReactNode[] | — | Optional totals row under a rule. |
| align | ("left" | "right")[] | "left left left" | left, then right | Per-column alignment. Defaults to left on the first column. |
| corner | string | "+" | 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. |
| className | string | — | Passed to the outer frame. |