This is an attempt at creating a set of input element that accept 2fa code.
There is a bug where pressing the backspace key messes with the focused input which I don't have the time to fix right now.
Mine is written in TS
but this is the original version in JS
: Original