ComponentsLayout
Stack
Vertical stack layout for organizing content
Examples
Basic Stack
{
"type": "stack",
"gap": 3,
"children": [
{
"type": "text",
"content": "Item 1",
"variant": "h3"
},
{
"type": "text",
"content": "Item 2"
},
{
"type": "text",
"content": "Item 3"
}
]
}Schema
interface StackSchema {
type: 'stack';
gap?: number;
children: SchemaNode[];
className?: string;
}