@hig/numeric-input
v2.1.3
Published
HIG Numeric Input
Downloads
10
Readme
Numeric Input
Numeric inputs allow the user to input a number of their choosing and use the up and down keys to increase/decrease the number.
Read more about when and how to use the Numeric Input component on the website.
Getting started
Install the package
yarn add @hig/numeric-input @hig/theme-context @hig/theme-data
Import the component
import NumericInput from '@hig/numeric-input';
Basic usage
<NumericInput />
Custom CSS
Use the className
prop to pass in a css class name to the outermost container of the component. The class name will also pass down to most of the other styled elements within the component.