Use it for a one-time code step where the code can be the whole screen: a real text input holds focus, so typing, paste and SMS autofill work, and clicking a column prints the digit at that height. Default length is 6.
When not to use
Not for a code field inside a dense form or a small dialog. For a compact code field use OTP Input.
Use it for the one-time code step of a sign-in, where the code is the whole screen; the real input stays on the page, so paste and SMS autofill print the flag too. Effects are visual
pieces rather than controls: they do not replace the Interface components in dashboards and forms.
A real, labelled text input holds focus and takes the typing, paste and one-time-code autofill; the columns are decorative and hidden from assistive technology.
The effect never takes focus. On touch screens a tap prints the digit the height of the tap picks; a horizontal drag changes column and a vertical drag stays with the page.
Columns print in one step with no pull; the digit preview under the pointer stays, because it does not move. The Flag hooks read usePrefersReducedMotion, so the MotionKitProvider setting applies too.