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

# Logic and tools

> Components that react to values, load other designs and show data for checking.

Components that react to values, load other designs and show data for checking. This page holds the catalogue groups **Logical**, **Special** and **Debugging**.

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

### counter · version 1

Type: `component`

Counts how many times the value of the component it follows changes.

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

- Other components can follow it: it appears as `@id` in **Read value from**.

This component keeps track of the count and increments it every time it receives a notify-event.

### enable · version 1

Type: `component`

Enables or disables the components inside it when a condition is met.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `border` | `Boolean` | no | `true` | **Apply border and padding** in the settings form. |
| `type` | `String` | no | `enable` | **Perform** in the settings form. One of `enable` (Enable), `disable` (Disable). |
| `condition` | `String` | no | `positive` | **Condition** in the settings form. One of `positive` (When the value is positive), `string` (Must contain exact text), `number` (Must contain exact number), `expression` (Custom JavaScript expression). |
| `value` | `String` | no |  | **Value** in the settings form. |

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

This component enables editing of elements in it, under specified conditions, you can set in settings.

### link · version 1

Type: `component`

Loads another design into this one.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `url` | `String` | no |  | **URL address to the app source (JSON)** in the settings form. A design from your list of designs. |
| `resetcss` | `Boolean` | no | `true` | **Reset element CSS** in the settings form. |
| `input` | `String` | no |  | **Input ID** in the settings form. |

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

The component can load another app.

### sound · version 1

Type: `component`

Plays a sound when a condition is met.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `type` | `String` | no | `Beep` | **Play** in the settings form. One of `Beep`, `Alert`, `Success`, `Confirm`, `Fail`, `Badge`, `Notification`, `Done`, `Drum`, `Message`. |
| `volume` | `Number` | no | `20` | **Volume** in the settings form. |
| `condition` | `String` | no | `positive` | **Condition** in the settings form. One of `positive` (When the value is positive), `string` (Must contain exact text), `number` (Must contain exact number), `expression` (Custom JavaScript expression). |
| `value` | `String` | no |  | **Value** in the settings form. |

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

This component will play the sound you set in your settings.

### show · version 1

Type: `component`

Shows or hides the components inside it when a condition is met.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `border` | `Boolean` | no | `true` | **Apply border and padding** in the settings form. |
| `type` | `String` | no | `show` | **Perform** in the settings form. One of `show` (Show), `hide` (Hide). |
| `condition` | `String` | no | `positive` | **Condition** in the settings form. One of `positive` (When the value is positive), `string` (Must contain exact text), `number` (Must contain exact number), `expression` (Custom JavaScript expression). |
| `value` | `String` | no |  | **Value** in the settings form. |

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

This component shows or hides the components you put into it. You can set the conditions in the settings of this component.

### json · version 1

Type: `component`

Shows its value as formatted JSON, for checking data.

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

This component prints data in JSON format.
