Skip to content

ButterIX v1 is out: versions, multiple languages, Ask AI, and a per-site MCP server, all built in. →

Table

<Table> and Markdown tables: column widths, horizontal scrolling, sticky header and first column, search and pagination.

Wraps a Markdown table (or an HTML table) to control column widths, minimum width, and a sticky header / first column. Tables work without it too: Markdown tables estimate column widths from their content and scroll horizontally when they don't fit.

Column widths

widths lists one width per column, separated by spaces: numbers are px, and 12rem, 30% or auto work too; * leaves a column unspecified. Columns not listed share the remaining width. layout="equal" makes all columns the same width; layout="content" lets the browser lay them out by content.

<Table widths="160px * 80px 80px">

| Status | Meaning | Cancelable | Promotable |
|---|---|---|---|
| queued | Waiting | Yes | No |
| building | Building | No | No |
| ready | Succeeded | No | Yes |
| failed | Failed | No | No |
| canceled | Canceled | No | No |

</Table>
StatusMeaningCancelablePromotable
queuedWaitingYesNo
buildingBuildingNoNo
readySucceededNoYes
failedFailedNoNo
canceledCanceledNoNo

Skins

skin gives a table another look; all of them work in light and dark mode. Without it, tables are plain: no frame and no background, just row lines. You can also choose one in the visual editor's table settings, where hovering a skin tries it on the table in the page.

<Table skin="framed">

| Parameter | Type | Default |
|---|---|---|
| `region` | string | `ap-sh` |

</Table>
ParameterTypeDefault
regionstringap-sh
timeoutnumber30
retriesnumber3
ParameterTypeDefault
regionstringap-sh
timeoutnumber30
retriesnumber3
ParameterTypeDefault
regionstringap-sh
timeoutnumber30
retriesnumber3
ParameterTypeDefault
regionstringap-sh
timeoutnumber30
retriesnumber3
ParameterTypeDefault
regionstringap-sh
timeoutnumber30
retriesnumber3
ParameterTypeDefault
regionstringap-sh
timeoutnumber30
retriesnumber3
ParameterTypeDefault
regionstringap-sh
timeoutnumber30
retriesnumber3
ParameterTypeDefault
regionstringap-sh
timeoutnumber30
retriesnumber3
ParameterTypeDefault
regionstringap-sh
timeoutnumber30
retriesnumber3

Tables wider than the page

minWidth makes the table wider than the page column so it scrolls horizontally; the side that can still scroll shows a shadow.

<Table minWidth="960px">

| Parameter | Type | Required | Default | Range | Since | Description |
|---|---|:---:|---|---|---|---|
| `timeout` | number | No | `30` | 1–600 | v1.2 | Per-request timeout in seconds; retried automatically on timeout |
| `region` | string | Yes | – | `cn` / `us` / `eu` | v1.0 | Data region; cannot be changed after creation |
| `retries` | number | No | `3` | 0–10 | v1.4 | Maximum retries after a failure, with exponential backoff |

</Table>
ParameterTypeRequiredDefaultRangeSinceDescription
timeoutnumberNo301–600v1.2Per-request timeout in seconds; retried automatically on timeout
regionstringYes–cn / us / euv1.0Data region; cannot be changed after creation
retriesnumberNo30–10v1.4Maximum retries after a failure, with exponential backoff

Sticky header and first column

<Table stickyHeader stickyFirstColumn maxHeight="240px">

| Status | Meaning | Cancelable | Promotable |
|---|---|---|---|
| queued | Waiting | Yes | No |
| building | Building | No | No |
| ready | Succeeded | No | Yes |
| failed | Failed | No | No |
| canceled | Canceled | No | No |

</Table>
StatusMeaningCancelablePromotable
queuedWaitingYesNo
buildingBuildingNoNo
readySucceededNoYes
failedFailedNoNo
canceledCanceledNoNo

Search and pagination

searchable adds a search box above the table that filters rows as you type (case-insensitive); paginate splits rows into pages of pageSize, and expandable swaps the page controls for a “Show all / Show fewer” toggle. Filtering happens before pagination.

<Table searchable paginate pageSize={4} placeholder="Search regions">

| Region | Location |
|---|---|
| cn-north | North China |
| cn-east | East China |
| cn-south | South China |
| ap-hk | Hong Kong |
| ap-sg | Singapore |
| us-west | US West |
| us-east | US East |
| eu-central | Frankfurt |

</Table>
RegionLocation
cn-northNorth China
cn-eastEast China
cn-southSouth China
ap-hkHong Kong
ap-sgSingapore
us-westUS West
us-eastUS East
eu-centralFrankfurt
widthsstring
Column widths separated by spaces, e.g. 160px 30% auto *. Numbers are px, * leaves a column unspecified; once set, unlisted columns share the remaining width.
layoutsmart | equal | contentDefault smart
smart estimates from content (same content, same width); equal gives equal widths; content uses the browser's automatic layout.
minWidthstring
Minimum table width, e.g. 960px. Wider than the page column → horizontal scrolling (also accepts min-width).
stickyHeaderbooleanDefault false
Keep the header row visible while scrolling vertically (also accepts sticky).
stickyFirstColumnbooleanDefault false
Keep the first column visible while scrolling horizontally (also accepts sticky-first).
maxHeightstring
Scroll viewport height when the header is sticky, default min(70vh, 600px).
searchablebooleanDefault false
Show a search box above the table that filters rows.
placeholderstringDefault Search...
Search box placeholder.
paginatebooleanDefault false
Split rows into pages with previous / next controls.
pageSizenumberDefault 10
Rows per page.
expandablebooleanDefault false
With paginate: a “Show all / Show fewer” toggle instead of page controls.
skindefault | framed | striped | bordered | card | minimal | academic | accent | contrast | softDefault default
Look: framed frame with a tinted header, striped zebra rows, bordered full grid, card raised card, minimal only the header rule, academic three rules, accent header in the brand color, contrast inverted header, soft rows as rounded bars.
<StickyTable>, <SearchableTable>, <StickySearchableTable>, <PaginatedTable> and <PaginatedSearchableTable> all work and equal <Table> with the matching switches on; the HTML form <table sticky searchable paginate pageSize={6} expandable> works too. For merged cells, see Markdown syntax › Merged cells.