See a problem with the code? Need a new component? Have feedback? We'd love to hear it all! The success of the Bluemix Design System relies on great people like yourself. Fill out the form below to submit your issue to our GitHub repo.
A member of the Bluemix Design System's team will be in touch within 48 hours.
Your issue, , is now in the bluemix-components repo. Click the issue number to track the progress or make edits to your issue.
We will get back to you within 48 hours. Feel free to reach out to us on one of our slack channels if you have additional questions:
#bluemix-componentselements
Number inputs are similar to text fields, but contain controls used to increase or decrease an incremental value.
<div data-numberinput class='bx--number'>
<label for='numberinput-id' class='bx--form__label'>Number input</label>
<input id='numberinput-id' type='number' pattern='[0-9]*' step='1' min='0' max='10' value='0' class='bx--number__input' />
<span class='bx--number__arrow--up'>
<svg class='bx--number__icon'>
<use xlink:href='https://dev-console.stage1.ng.bluemix.net/api/v5/img/bluemix-icons.svg#caret--up'></use>
</svg>
</span>
<span class='bx--number__arrow--down'>
<svg class='bx--number__icon'>
<use xlink:href='https://dev-console.stage1.ng.bluemix.net/api/v5/img/bluemix-icons.svg#caret--down'></use>
</svg>
</span>
</div>