3 answers
Hi Agnibha,
There is no specific library to do this,
You can use lightning input-:
https://developer.salesforce.com/docs/component-library/bundle/lightning-input/example
And use css and validation to allow one character per textbox
Also check this-:
https://stackoverflow.com/questions/13577951/javascript-to-let-user-to-enter-only-single-character
Thanks