# Switch

Component: A locked height form component for the toggle of a property on/off. Inner element spacing is used for dynamic resizing along with a background surface.

[Styleguide Link](https://zpl.io/Vq7d5z5)

* Parent: Form (Container)
* Child: [Switch - Ctrl](/core/overview/switch.md), [Label](/core/overview/label.md)

## Properties

### Label

The component can be presented with a label to give context to the switch control. This label can be positioned in the following options...

<figure><img src="/files/ESduQQpQ6qHsSwJwj8A1" alt=""><figcaption></figcaption></figure>

* Label Left, Control Left
* Label Right, Control Right
* Label Left, Control Right
* Label Right, Control Left

### Style

The styling of the switch can be altered to present a different appearance. For example, we could present an appearance to the control that's a bit more fancy in sign in screen than a pill switch control, with the same underlying functionality.

<figure><img src="/files/zNc94m2sLaYQ60KYDX5x" alt=""><figcaption></figcaption></figure>

* Base (Pill)
* Rectangle

**Note:** Each of the nested elements and primitives of this form component have properties that can be adjusted to customize the component.


---

# Agent Instructions: 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:

```
GET https://able.bucca.com/core/components/form/switch.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
