@vaadin/number-field
Version:
vaadin-number-field
37 lines (22 loc) • 965 B
Markdown
# @vaadin/number-field
An input field web component that only accepts numeric input.
[Documentation + Live Demo ↗](https://vaadin.com/docs/latest/components/number-field)
[](https://www.npmjs.com/package/@vaadin/number-field)
```html
<vaadin-number-field label="Balance"></vaadin-number-field>
```
## Installation
Install the component:
```sh
npm i @vaadin/number-field
```
Once installed, import the component in your application:
```js
import '@vaadin/number-field';
```
## Contributing
Read the [contributing guide](https://vaadin.com/docs/latest/contributing) to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components.
## License
Apache License 2.0
Vaadin collects usage statistics at development time to improve this product.
For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.