Number Input
Overview
Usage
Examples
API
A number input is a numeric field with a ± spinbox for stepping by a fixed amount, plus min/max clamping. RhombusKit's <rhombus-number-input> pairs Material's <mat-form-field> chrome with a bespoke stepper over a native <input type="number"> — so it's an accessible spinbutton out of the box — and routes every colour through the token contract.
Example
When to use
- For a precise numeric entry where the exact value matters — quantities, ages, counts, prices.
- When stepping by a fixed amount (± buttons, arrow keys) and clamping to a range is helpful.
When not to use
Related components
Was this page helpful?