# KptRadioGroup (kpt-radio-group) A radio button group on Signal Forms (`FormValueControl`). Options through `options`. Import: `import { KptRadioGroup, KptOption } from '@konce-pt/angular';` ## Usage plans: KptOption[] = [{label:'Free',value:'free'},{label:'Pro',value:'pro'}]; ## Inputs - `value`: model; `options`: KptOption[] `{ label, value, disabled? }` - `disabled`/`invalid`/`touched`: boolean; `name`: string (automatic); the `touch` output. - `toggleMotion`: 'spring' | 'fade' | 'none' (default from `provideKptMotion`, else `spring`) - see "Toggle motion" ## Screen reader and keyboard `orientation`: 'vertical' (default) | 'horizontal' - options in a column or in a wrapping row; also sets `aria-orientation`. ## Label and description `id` goes to the focusable element - the host never carries it; without one it is generated. A `div` with a role is not named by `label[for]`, so inside `kpt-form-field` it gets `aria-labelledby` pointing at the wrapper's label (unless `ariaLabel` is set), and the hint or error is added to `aria-describedby`. No `controlId` needed. New: `id`, `ariaLabel` and `required` (-> `aria-required`) on the `radiogroup`. ## Toggle motion `toggleMotion`: `spring` - the dot pops in on a spring and the circle bounces; `fade` - a calm colour and mark transition; `none` - no motion. The bounce is started by the change handler, so a control that is checked on load does not move. With no value it takes `toggle` from `provideKptMotion` (default `spring`); `enabled: false` and the system "reduce motion" setting always win. ## Tokens `--kpt-color-primary`, `--kpt-form-field-border`. ## Read-only and required `readonly` blocks the click and the arrow keys (natively they move the selection); the group gets `aria-readonly`.