# Vue InputNumber Component InputNumber is an input component to provide numerical input. ## Import ```javascript import InputNumber from 'primevue/inputnumber'; ``` ## Accessibility Screen Reader Value to describe the component can either be provided via label tag combined with inputId prop or using aria-labelledby , aria-label props. The input element uses spinbutton role in addition to the aria-valuemin , aria-valuemax and aria-valuenow attributes. Keyboard Support Key Function tab Moves focus to the input. up arrow Increments the value. down arrow Decrements the value. home Set the minimum value if provided. end Set the maximum value if provided. ```vue Number ``` ## Buttons Spinner buttons are enabled using the showButtons property and layout is defined with the buttonLayout . ```vue ```
Composition API Example ```vue