Overview
Layout Fields are components that organize and display information to users. An accordion, a stack, or tabs are examples of Layout Fields.
Layout Fields are defined by setting the kind property as layout, and the property children, an array of elements to display.
Main Properties
Section titled “Main Properties”Use these properties to customize your Layout Fields.
| property | type | value |
|---|---|---|
uid | string | A unique id, if none provided, one will be generated automatically |
kind | string | MANDATORY All Layout Fields are type layout |
widget | string | MANDATORY The Layout Field widget that you want to use (for example: accordion) |
children | array | MANDATORY The elements to display inside the Layout Field |
props | object | An object with custom properties defined by each Layout Field, check the documentation of each Layout Field to know more |