Column
Layout and media / Column
Stack related content in reading order.
When to use it
Stack related content in reading order.
What the agent supplies
A vertical layout container for child components.
The agent chooses the content and binds it to the component. CLIO then renders the view and its available controls.
What the agent receives
The exact output of load_skill, including resolved local definitions.
load_skill("a2ui-catalog-basic", file="catalog.json#/components/Column"){
"type": "object",
"allOf": [
{
"$ref": "https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon"
},
{
"type": "object",
"properties": {
"weight": {
"type": "number",
"description": "The relative weight of this component within a Row or Column. This is similar to the CSS 'flex-grow' property. Note: this may ONLY be set when the component is a direct descendant of a Row or Column."
}
}
},
{
"type": "object",
"description": "A layout component that arranges its children vertically. To create a grid layout, nest Rows within this Column.",
"properties": {
"component": {
"const": "Column"
},
"children": {
"description": "Defines the children. Use an array of strings for a fixed set of children, or a template object to generate children from a data list. Children cannot be defined inline, they must be referred to by ID.",
"$ref": "https://a2ui.org/specification/v0_9/common_types.json#/$defs/ChildList"
},
"justify": {
"type": "string",
"description": "Defines the arrangement of children along the main axis (vertically). Use 'spaceBetween' to push items to the edges (e.g. header at top, footer at bottom), or 'start'/'end'/'center' to pack them together.",
"enum": [
"start",
"center",
"end",
"spaceBetween",
"spaceAround",
"spaceEvenly",
"stretch"
],
"default": "start"
},
"align": {
"type": "string",
"description": "Defines the alignment of children along the cross axis (horizontally). This is similar to the CSS 'align-items' property.",
"enum": [
"center",
"end",
"start",
"stretch"
],
"default": "stretch"
}
},
"required": [
"component",
"children"
]
}
],
"unevaluatedProperties": false
}
Standard refs (not loadable here): https://a2ui.org/specification/v0_9/common_types.json#/$defs/ChildList, https://a2ui.org/specification/v0_9/common_types.json#/$defs/ComponentCommon