# Read-Only Switch

By default, the Switch is in an active state.

The following example demonstrates how to render the Switch in its read-only state.

```
<input type="checkbox" id="switch" />

<script>
    var switchInstance = $("#switch").kendoSwitch({
            readonly: true
        });
</script>
```

## See Also

* [Basic Usage of the Switch (Demo)](https://demos.telerik.com/kendo-ui/switch/index)
* [Using the API of the Switch (Demo)](https://demos.telerik.com/kendo-ui/switch/api)
* [JavaScript API Reference of the Switch](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/switch)
