
Product
Introducing Immutable Scans
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.
@vaadin/integer-field
Advanced tools
An extension of <vaadin-number-field> component that only allows entering integer numbers.
<vaadin-integer-field label="X"></vaadin-integer-field>
Install the component:
npm i @vaadin/integer-field
Once installed, import the component in your application:
import '@vaadin/integer-field';
Vaadin components come with two built-in themes, Lumo and Material. The main entrypoint of the package uses Lumo theme.
To use the Material theme, import the component from the theme/material folder:
import '@vaadin/integer-field/theme/material/vaadin-integer-field.js';
You can also import the Lumo version of the component explicitly:
import '@vaadin/integer-field/theme/lumo/vaadin-integer-field.js';
Finally, you can import the un-themed component from the src folder to get a minimal starting point:
import '@vaadin/integer-field/src/vaadin-integer-field.js';
Read the contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components.
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.
FAQs
vaadin-integer-field
The npm package @vaadin/integer-field receives a total of 27,597 weekly downloads. As such, @vaadin/integer-field popularity was classified as popular.
We found that @vaadin/integer-field demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 12 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.