Container
The Container component is a basic layout element and is used to horizontally align the layout of your window components using columns. The Container is based on a grid system with 12 columns.
The Container:
- Cannot be placed inside another container.
- Can be placed inside other components, such as a Panel and Panel with tabs to align components horizontally.
- Adapts to different screen sizes.
- Width can be fluid (100% of its parent) or fixed.
Example
You can use a Container component to create the following layout with two columns that are divided 30%-70% across the screen width. Where:
- The first column contains a Text input component.
- 
The second column contains another Container component with three columns to align Dropdown components as follows: - First column three stacked components
- Second column one component
- Third column one component
 
 
 
The example below shows another use of the Container component creating a layout with four columns placed inside the content section of a Panel component to align three Dropdown components and a Radio component.
 
 
Properties
The following Container properties are available:
Main properties
The following table describes the main properties of the component.
| Property | Description | Required | 
|---|---|---|
| Fluid | Select the checkbox to make the container cover the full width of the browser window, even if resized, with no margins on the left or right side. | No | 
| Columns | Select the number of columns for the Container. See Columns for more details. | Yes | 
| Vertical gap | Select a spacing token from the drop-down. It sets a vertical space between components in the same column. | No | 
Interactions properties
The following table describes the interactions properties of the component.
| Property | Description | Required | 
|---|---|---|
| Hidden | Select the checkbox to hide the component in the end-user app. To hide it in the canvas, use the eye icon in the Layers panel. | No | 
| Add rule | You can set rules to hide the component using Liquid. If no rules are set, the component will be hidden in all instances. | No | 
Note: See Add rules to trigger properties for more details on how to set rules to the property.
Columns
Columns are used to divide the screen into vertical sections into which you place the various screen components. The Container has the following column options:
- 1 column - (default)
- 2 columns (50%/50%)
- 2 columns (30%/70%)
- 2 columns (70%/30%)
- 3 columns
- 4 columns
- 6 columns
- 12 columns
How the columns are distributed across the container width for each option is shown below:
 
 
Note:
Column properties
The following Column properties are available when you select a column in the Canvas:
Main
The following table describes the column properties of the component.
| Property | Description | Required | 
|---|---|---|
| Distribute | Choose from the drop-down menu how to distribute the different components inside your column. | No | 
| Align | Choose from the drop-down menu how to align the different components inside your column. | No | 
Drag
- The example below shows content being moved from one column to another:
 
 
- The example below shows columns being rearranged within their parent container.
