Archived docs Get your API Key
Get started
Tutorials
Guides
Reference
Help for AI 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
widthstringTable width (e.g. '80%').
vertical-alignstring (enum)Vertical position. Values: top, center, bottom
horizontal-alignstring (enum)Horizontal position. Values: left, center, right
font-familystringDefault font.
font-weightstringDefault font weight.
font-sizestringDefault font size.

header

Table header row.

PropertyTypeDefaultDescription
displaystringSet to 'none' to hide header.
colorstringHeader text color.
column-widthsstringColumn widths separated by '||' (e.g. '30%||40%||30%').

rows

Body row styling.

PropertyTypeDefaultDescription
colorstringRow text color.
marginstringRow margin.

odd-rows

Styling for odd-numbered rows.

PropertyTypeDefaultDescription
backgroundstringBackground color for odd rows.

even-rows

Styling for even-numbered rows.

PropertyTypeDefaultDescription
backgroundstringBackground color for even rows.

first-column

Styling for the first column.

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

cells

Individual cell styling.

PropertyTypeDefaultDescription
paddingstringCell padding.

data

Table content.

PropertyTypeDefaultDescription
columnsarrayArray of column header strings.
rowsarrayArray 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