PIN Input Box Custom Component!

So, I needed a phone-style PIN input box. Explored some JS options, got confused, ended up making it with anvil text box and flow panel. It can be used as a custom component.

I would love some feedbacks and suggestions to improve.
Please check it out or clone it to use it in your apps.

Live Link

Clone Link

Here is how it looks:

Custom Properties and Events:

pin_set event is fired when input pins add up to be equal to desired length.
and, after firing the event it resets.


This seems like a cool dependency. I definitely will be needing it some time

1 Like