KP-004 · AUTH/SECOND/FACTOR
Second Factor Page
The second factor, with the lost-device path given the same weight as the code field. Almost every 2FA screen buries recovery in small grey text at the bottom, which is precisely where nobody looks while holding a dead phone.
Install
One command — the source lands in your repo. Or copy it from the Code tab.
$ pnpm dlx shadcn@latest add @kinetiq/auth-second-factor
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| length | number | — | Digits in the code; drives the pattern and the shape check. |
| recoveryLabel / recoveryCopy / recoveryHref | string | — | The lost-device path, at equal weight. |