# KptSwitch (kpt-switch) A toggle switch on Signal Forms (`FormCheckboxControl`, the `checked` model). `role="switch"`. Import: `import { KptSwitch } from '@konce-pt/angular';` ## Usage ## Inputs - `checked`: model; `label`: string (static); `disabled`/`invalid`/`touched`: boolean; the `touch` output. - `labelPosition`: 'start' | 'end' (default 'end') - the `label` to the left or to the right of the switch. - `onLabel`/`offLabel`: string - the state text; shown according to `checked` (the on state highlighted with `--kpt-color-primary`). Can be combined with a static `label`. - `toggleMotion`: 'spring' | 'fade' | 'none' (default from `provideKptMotion`, else `spring`) - see "Toggle motion" ## Screen reader and keyboard The `onLabel`/`offLabel` text is `aria-hidden`: `role="switch"` already announces the state, and text inside the `