<div class='type'>Function</div>


<a id='references'></a>


<h2 id="checked-value">checked</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
@ExperimentalFoundationStyleApi
fun StyleScope.checked(value: Style)
```


Defines a `Style` to be applied when the component is `StyleState.isChecked` is `true`. The
properties within the provided `value` Style will override or merge with the base style of the
component when a toggle interaction is detected.