> For the complete documentation index, see [llms.txt](https://docs.buildings.ability.abb/collection/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.buildings.ability.abb/collection/platform/live-cockpit/widgets/custom-widgets/modules/inputs-and-switches.md).

# Inputs & Switches

The "Inputs & Switches" module allows you to display a wide variety of switches, sliders, and fields for entering values in a widget.

<figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2FslwKob34386F46oKryhn%2FInput.png?alt=media&#x26;token=0e02a340-0fbb-4857-9f3d-66aa06c7205a" alt=""><figcaption></figcaption></figure>

<table data-full-width="true"><thead><tr><th width="62.93333943684894"></th><th width="144.59991455078125"></th><th></th></tr></thead><tbody><tr><td><strong>[A]</strong></td><td>Description</td><td>This text is displayed when the custom widget is later connected to assets</td></tr><tr><td><strong>[B]</strong></td><td>Type</td><td><ul><li><strong>Switch:</strong> The switch allows an asset to be toggled between two values</li><li><strong>Slider:</strong> A value can be selected within a value range via a slider.</li><li><strong>Vertical Slider</strong>: Like "Slider", but the slider is arranged vertically.</li><li><strong>Switch and Slider</strong>: Combination of "Slider" and "Switch"</li><li><strong>Input:</strong> A value can be entered.</li><li><strong>Selection:</strong> A value can be selected from multiple values for each asset via a drop-down menu.</li><li><strong>Button</strong>: You can set values via a button</li><li><strong>Stepper:</strong> The stepper allows for the gradual adjustment of a value via increment and decrement buttons. The step size can be configured in the <em>Asset Template</em>. <a href="https://docs.buildings.ability.abb/collection/mandatory-base/platform-core/asset-core/create-a-new-template.md">-> Thresholds in the Asset Template</a></li></ul></td></tr><tr><td><strong>[C]</strong></td><td>Activate symbols</td><td>When activated, the symbols of the corresponding attributes are displayed.</td></tr><tr><td><strong>[D]</strong></td><td>Divide vertically</td><td>When activated, the inputs are no longer displayed one below the other, but also next to each other.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.buildings.ability.abb/collection/platform/live-cockpit/widgets/custom-widgets/modules/inputs-and-switches.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
