# KptSpinner (kpt-spinner) Loading indicator. Primary colour by default; `color` on the host changes it (`color: inherit` takes the surrounding text). Import: `import { KptSpinner } from '@konce-pt/angular';` ## Inputs - `size`: string (e.g. '2rem', default '1.5rem'); `label`: string (aria) ## Example ## Tokens The host sets `color: var(--kpt-color-primary)` and the ring is drawn in `currentColor`; the ring width is 8% of `size`, at least 2px. ## Accessibility The ring is `aria-hidden`; next to it sits a visually hidden `.kpt-spinner__label` with `role="status"`. Its text - `label`, or `spinner.label` - is written a frame after the spinner appears, because a status region that is born already filled in is skipped by most screen readers. Under `prefers-reduced-motion` the rotation slows down instead of stopping.