Switch — Playground

px
size
State
html.html
<label>
  <input kuiSwitch type="checkbox" checked />
  <span>Enable notifications</span>
</label>
NameTypeDefaultDescription
size'xs' | 'sm' | 'md' | 'lg'Switch size mapped to Kikita switch tokens.
invalidbooleanMarks the switch invalid outside a field error state.
idstring | undefinedExplicit id override. Inside kui-field, the field id is used when omitted.

Inputs verified against @kikita-labs/ui v1.6.1 public typings.