See the new new component docs (under construction) for V19 and TypeScript samples.

Number Field

Installation instructions for npm

Install vaadin-number-field:

npm i @vaadin/vaadin-text-field --save

Alternatively, you can install all the Vaadin components with a single dependency

npm i @vaadin/vaadin --save

See the How to use Web Components tutorial to learn webpack with Vaadin components.

If you have a Java project, follow the installation instructions for Java.