Archived docs Get your API Key
Get started
Tutorials
Guides
Reference
Help for coding agents
🤖 AI Assistant

Component basic/125

Component ID: basic/125

A data table generated dynamically from settings. Supports header row, multiple body rows, column widths, and 4 animation styles (fade-in, slide-in-left, slide-in-right, unfold). Rows and columns are defined in the data settings. Supports separate styling for header, odd/even rows, first column, and cells. Great for displaying statistics, comparisons, pricing tables, or any tabular data.

SectionInteractive or data-driven elements: buttons, counters, ratings, images, tables
Animation4 styles: 'fade-in' (cells fade individually), 'slide-in-left' (rows slide from left), 'slide-in-right' (rows slide from right), 'unfold' (rows flip in with 3D rotation).
Intro duration10 s

Preview

Element schema

Minimal shape of a basic/125 component element:

{
    "type": "component",
    "component": "basic/125",
    "settings": {}
}

See the full component element reference for shared properties like duration, start, x, y, etc.

Settings

The settings property accepts the following groups. Each group contains CSS-like properties; see component CSS properties for the full list of supported keys.

table

Overall table styling.

PropertyTypeDefaultDescription
widthstring—Table width (e.g. '80%').
vertical-alignstring (enum)—Vertical position. Values: top, center, bottom
horizontal-alignstring (enum)—Horizontal position. Values: left, center, right
font-familystring—Default font.
font-weightstring—Default font weight.
font-sizestring—Default font size.

header

Table header row.

PropertyTypeDefaultDescription
displaystring—Set to 'none' to hide header.
colorstring—Header text color.
column-widthsstring—Column widths separated by '||' (e.g. '30%||40%||30%').

rows

Body row styling.

PropertyTypeDefaultDescription
colorstring—Row text color.
marginstring—Row margin.

odd-rows

Styling for odd-numbered rows.

PropertyTypeDefaultDescription
backgroundstring—Background color for odd rows.

even-rows

Styling for even-numbered rows.

PropertyTypeDefaultDescription
backgroundstring—Background color for even rows.

first-column

Styling for the first column.

PropertyTypeDefaultDescription
text-alignstring (enum)—Text alignment. Values: left, center, right
border-rightstring—Right border (e.g. '2px solid #ccc').
padding-rightstring—Right padding.

cells

Individual cell styling.

PropertyTypeDefaultDescription
paddingstring—Cell padding.

data

Table content.

PropertyTypeDefaultDescription
columnsarray—Array of column header strings.
rowsarray—Array of row strings (columns separated by '||') or array of arrays.

animation

Animation configuration.

PropertyTypeDefaultDescription
stylestring (enum)fade-inAnimation style. Values: fade-in, slide-in-left, slide-in-right, unfold