Skip to content

A2Row

Horizontal row layout component for arranging children horizontally.

Props

PropertyTypeDefaultDescription
gutternumber0Gap between columns (px)
justify`startendcenter
align`topmiddlebottom`

Basic Example

Basic Row
无内容

Centered Row Example

Centered Row
无内容

JSON Schema

json
{
  "id": "rowId",
  "type": "a2-row",
  "props": {
    "gutter": 20,
    "justify": "start",
    "align": "top"
  },
  "children": []
}

A2UI Documentation