Skip to main content

Tabs

type: "tabs"

Simple tabs to structure fields and layouts.

Additional Fields

FieldTypeDescription
childrenTab[]An array of tab layouts

type: "tab"

A simple tab, can only be used as child of the tabs layout.

Additional Fields

FieldTypeDescription
labelstringThe label of the tab
childrenlayoutSub layout definition, within the tab

Example

mobro-widget-config.json
{
"layout": [
{
"type": "tabs",
"children": [
{
"type": "tab",
"label": "Tab 1",
"children": [
"field_a",
{
"type": "fieldset",
"label": "Subfielset",
"children": [
"field_b"
]
}
]
},
{
"type": "tab",
"label": "Tab 2",
"children": [
"field_c",
"field_d"
]
}
]
}
]
}