Skip to main content

Stack

Container properties

All component configurations support Container properties at the first level.

Component properties

NameTypeDefaultSupports Variable PatternDescription
classNamestring✔️Root div's className
styleobjectRoot div's style
flexDirectionstringproperties equivalent to css flex
gapnumber8properties equivalent to css flex
alignItemsstringproperties equivalent to css flex
justifyContentstringproperties equivalent to css flex

All the remaining componentsProps will be passed to the component root element (div).

JS API

The interface obtained through formApi.getFieldApi() is as follows:

NameTypeDescription
nodeHTML ElementThe root DOM element of the component