> For the complete documentation index, see [llms.txt](https://docs.blynk.io/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blynk.io/en/blynk.console/widgets-console/segmented-switch.md).

# Segmented Switch

{% hint style="warning" %}
***Note:*** please remember that web and mobile app widgets are set up separately in the Web Dashboard and Mobile App Dashboard sections correspondingly. They can still use the same datastreams to access the same data (Map widget is an exception – a different codebase is used for Map on mobile and web).
{% endhint %}

Unlike the basic switch widget that can only have two statuses, with Segmented Switch you can  switch between up to 10 statuses or options. This widget works with **Enum** and **Int** Datastreams.

### Settings

* Name the Segmented Switch widget by filling out the TITLE field or leave it blank if you want to hide the widget name&#x20;
* **Datastream** – access the list of available Datastreams by clicking on **Choose Source** (a dropdown list will be shown). If you use Enum Datastream, all options will be automatically loaded.
* **Color** – pick the color for the active Switch status background from the palette or define it by color number input
* Choose whether you want to use **Icons** next to each label for options or just labels
* Set **Options** in the corresponding fields. Add up to 10 options to switch between

![](/files/vYbuAaVbFchdXfoiXLA1)


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.blynk.io/en/blynk.console/widgets-console/segmented-switch.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
