A component for placing content in columns.

Use it to customize the display of content: set the column width and adjust the vertical alignment of content.

View example
Components used in the example

Component properties

type*"layout.columns"Set component type.
fullHeightbooleanSwitches the component to column mode at full height and with individual scrolling. Otherwise, the height is determined by the height of the column that is filled in the most.
items*arrayColumns to divide the interface into.
items[]viewColumn content.
minWidthnumberThe minimum width of the component; if it is narrower, columns are output sequentially, one by one.
ratioarrayAn array of values that specify the relative width of columns. For example, if you have 3 columns, the value [1,2,1] divides the space into 4 parts and the column in the middle is twice as large as the other columns.

If the number of columns exceeds the number of values in the ratio property, the values are repeated. For example, if you have 4 columns and the ratio is set to [1,2], the result is the same as for [1,2,1,2].

If the number of columns is less than the number of values in the ratio property, extra values are simply ignored.
ratio[]numberRelative column width.
validationconditionValidation based on condition.

Vertical alignment of column content:

  • top — Aligned to the top of a column.
  • middle — Aligned to the middle of the column that is filled in the most.
  • bottom — Aligned to the bottom of a column.
Contact support

Last updated: March 29, 2023

Getting started
Important tips
Useful recommendations
Working with Toloka
Project analysis
Toloka settings
Task interface
Template Builder
HTML/CSS/JS editor
Help and support