How-to: vertical number slider input?

Hello,

I want to implement a number input but in a vertical-sliding type, as shown in image below. I cannot seem to find any resources that would help me build this. If you can be of any help, I’d really appreciate it.

Thank you.