Bootstrap Touchspin

Bootstrap Touchspin

A mobile and touch friendly input spinner component for Bootstrap 3.

It supports the mousewheel and the up/down keys.


Bootstrap touchspin with default options, just add data-toggle="touchspin" to any input.

Prefix & Postfix

Just add data-prefix="PRE" and data-prefix="POST" to add prefix and postfix to the touchspin.

Vertical Spin Buttons

Just add data-vertical="true" to make the spinner buttons vertical.

Custom Icons

Add custom icon to the vertical buttons by adding the options verticalup and verticaldown containing the custom icons html to the options object.


You can simply specify the size by adding the size class to the input, It can be .input-sm or .input-lg. Or you can remove it for the regular size.