Selection Box and Switches

Selection Box
Image of three selection boxes
SelectionBox()
SelectionBox(disabled = true)
SelectionBox(value = true)

A selection box can either be True or False and just like buttons it has an onClick callback that gets called when the selection box is interacted with.
However the component does not provide a boolean state when it is interacted with.
Instead create a boolean state for the selection box and update that state on update.

var state by remember { mutableStateOf(false) }

SelectionBox(state, { state = !state })
Switch
Image of three switches
Switch()
Switch(disabled = true)
Switch(value = true)

Just like the Selection Box the Switch does not give its state value when it is clicked in the onClick.