---
title: Layouts and parts
project: UI Builder
version: 1.0
section: components
language: en
license: MIT
url: https://totaljs.es/docs/uibuilder/1-0/components/layouts-and-parts/
updated: 2026-11-20T06:51:57.969Z
---

# Layouts and parts

> Areas that hold and arrange other components, and parts made of other designs.

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](/uibuilder/1-0/guides/component-settings/). To add a component to a design, see [Import components](/uibuilder/1-0/guides/import-components/).

## API

### applayout · version 1

Type: `component`

The frame of an app with a top bar, a title and buttons.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `buttons` | `Array` | no | `[]` | Your own list of buttons, edited in the settings form. |
| `backnav` | `Boolean` | no |  | **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.

### columns · version 1

Type: `component`

Divides the area into a number of columns.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `count` | `Number` | no | `3` | **Count** in the settings form. |
| `countmd` | `Number` | no | `0` | **Count (MD)** in the settings form. |
| `countsm` | `Number` | no | `0` | **Count (SM)** in the settings form. |
| `countxs` | `Number` | no | `0` | **Count (XS)** in the settings form. |
| `background` | `Boolean` | no | `true` | **Apply background and padding** in the settings form. |
| `rounded` | `Boolean` | no | `true` | **Rounded corners** in the settings form. |
| `hidden` | `Boolean` | no | `false` | **Hide in render** in the settings form. |

**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.

### container · version 1

Type: `component`

A simple area for other components.

**Inputs:** none.  
**Outputs:** none.

Container is a simple layout component where you can place your content.

### display · version 1

Type: `component`

Sets display-size classes from its own width, for components inside it.

**Inputs:** 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.

### hiddencontainer · version 1

Type: `component`

An area that is hidden in the published design, for data components.

**Inputs:** none.  
**Outputs:** none.

This container will always be hidden in the render and it's targeted for data operations.

### part · version 1

Type: `component`

Shows another design, made with the Part template, inside this design.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `url` | `String` | no |  | **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.

### partcontainer · version 1

Type: `component`

The root area of a Part design.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `border` | `Boolean` | no | `false` | **Apply border and padding** in the settings form. |
| `checkvisible` | `Boolean` | no | `true` | **Validate only visible components** in the settings form. |
| `autoreset` | `Boolean` | no |  | **Reset controls after send** in the settings form. |
| `button` | `String` | no |  | **Button label** in the settings form. |
| `url` | `String` | no |  | **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.

### variablecontainer · version 1

Type: `component`

An area with a maximum width that you set.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `maxwidth` | `String` | no | `800` | **Maximum width** in the settings form. |

**Inputs:** none.  
**Outputs:** none.

A variable container offers a user-defined maximum width.
