Layouts and parts
Areas that hold and arrange other components, and parts made of other designs.
On this page
Areas that hold and arrange other components, and parts made of other designs. This page holds the catalogue groups Layouts and Parts.
Each entry gives the folder name and version of the component, its inputs and outputs, notes, its readme and its main settings: the key in the configuration, its default value and the field in the settings form. Every component also has Name and Read value from, described in Component settings. To add a component to a design, see Import components.
API
component
applayout · version 1
The frame of an app with a top bar, a title and buttons.
applayout · version 1| Parameter | Type | Description |
|---|---|---|
buttons? |
Array |
Your own list of buttons, edited in the settings form. Default: [] |
backnav? |
Boolean |
Allow back button in the settings form. |
Inputs: none.
Outputs: one for each button in the settings.
- Hidden in the component list of the editor.
The component has no readme. It frames an app: a top bar with the name and icon of the layout, an optional back button and your own buttons, and an area for the content below. Each button you add in the settings becomes an output of the design. The component is hidden in the component list.
component
columns · version 1
Divides the area into a number of columns.
columns · version 1| Parameter | Type | Description |
|---|---|---|
count? |
Number |
Count in the settings form. Default: 3 |
countmd? |
Number |
Count (MD) in the settings form. Default: 0 |
countsm? |
Number |
Count (SM) in the settings form. Default: 0 |
countxs? |
Number |
Count (XS) in the settings form. Default: 0 |
background? |
Boolean |
Apply background and padding in the settings form. Default: true |
rounded? |
Boolean |
Rounded corners in the settings form. Default: true |
hidden? |
Boolean |
Hide in render in the settings form. Default: false |
Inputs: none.
Outputs: none.
The Columns component divides your content into a number of parts.
- Content division: divide the content into a set number of parts.
- Settings: set the number of parts.
component
container · version 1
A simple area for other components.
container · version 1Inputs: none.
Outputs: none.
Container is a simple layout component where you can place your content.
component
display · version 1
Sets display-size classes from its own width, for components inside it.
display · version 1Inputs: none.
Outputs: none.
This component sets display sizes according to the current element width (as a class e.g. d-xs or d-lg). It can affect, for example, the Columns component.
component
part · version 1
Shows another design, made with the Part template, inside this design.
part · version 1| Parameter | Type | Description |
|---|---|---|
url? |
String |
URL address to the app source (JSON) in the settings form. |
Inputs: none.
Outputs: none.
- Offered in Import components for designs of type
app,dashboard,mobile,uicomponent.
The form collects only components with defined paths.
component
partcontainer · version 1
The root area of a Part design.
partcontainer · version 1| Parameter | Type | Description |
|---|---|---|
border? |
Boolean |
Apply border and padding in the settings form. Default: false |
checkvisible? |
Boolean |
Validate only visible components in the settings form. Default: true |
autoreset? |
Boolean |
Reset controls after send in the settings form. |
button? |
String |
Button label in the settings form. |
url? |
String |
URL address for data processing in the settings form. |
Inputs: load (Load), reset (Reset), clear (Clear).
Outputs: read (Read).
- Offered in Import components for designs of type
part. - Hidden in the component list of the editor.
The form collects only components with defined paths.
component
variablecontainer · version 1
An area with a maximum width that you set.
variablecontainer · version 1| Parameter | Type | Description |
|---|---|---|
maxwidth? |
String |
Maximum width in the settings form. Default: 800 |
Inputs: none.
Outputs: none.
A variable container offers a user-defined maximum width.