Skip to content

A2Column ​

Vertical column layout component for arranging children vertically.

Props ​

PropertyTypeDefaultDescription
spannumber24Width span (1-24)
gapnumber0Gap between children (px)
align`startcenterend

Basic Example ​

Basic Column
无内容

Aligned Column Example ​

Centered Column
无内容

JSON Schema ​

json
{
  "id": "columnId",
  "type": "a2-column",
  "props": {
    "span": 12,
    "gap": 16,
    "align": "stretch"
  },
  "children": []
}

A2UI Documentation