Spacer

An empty element for vertical spacing in the layout.

Widget description: spacer

Spacer is an empty element that inserts vertical spacing between fields or blocks. Use it when you need more space than the standard field gap provides. It is a virtual widget: it renders no visible content, stores no data, and is skipped by screen readers.

Spacer widget settings: height in pixels, presets, and narrow-screen toggle

Adding to the form

On the Widgets tab, select Spacer and drag it into a section (or click “+”). A new spacer has a height of 24 px and spans the full width of the section. In the designer it appears as a labeled bar; in the live form it is invisible.

Inspector settings

OptionPropertyDescriptionDefault
Height (px)spacerConfig.heightHeight from 1 to 400 px. Enter a number or use the presets 8, 16, 24, 32, 48, 64 px. Out-of-range values are clamped to the nearest allowed value.24
Hide on narrow screens (stacked fields)spacerConfig.hideWhenStackedOn narrow forms (under 640 px, where fields stack vertically), the spacer is not rendered. Useful for spacers that only align side-by-side columns.no
Builder labelcustomLabelUsed only to identify the spacer in the editor; not displayed on the form.“Spacer”
Column span, VisiblecolSpan, defaultVisibleCommon widget options. The spacer occupies grid space just like a field.12, yes

Required and Read-only options are not available for the spacer.

Runtime behavior

Text translations

Spacer has no translatable text.

Rules and scripts

A rule can only show or hide a spacer (setVisible). Typical use case: a spacer that disappears together with a hidden block of fields so no empty gap remains.

Configuration example (JSON)

{
  "internalName": "widget_spacer_1",
  "customLabel": "Spacer before budget",
  "fieldType": "spacer",
  "colSpan": 12,
  "defaultVisible": true,
  "spacerConfig": {
    "height": 32,
    "hideWhenStacked": true
  }
}
Layout canvas with a spacer between two fields. Shows the spacer bar with its configured height and selection in the inspector

Limitations and tips