Silvi

A typed number inside an Inputs card, with the same props as a slider.

<InputNumber> is a field where the reader types a number. It sits inside a <k.Inputs> card, its param declared in page.filterParams with input: "number", and takes the same props as slider. Use it for a value with no natural range, such as a budget.

Example

1 000 000 krToday 1 000 000 kr

Props

As slider: param and label are required; min, max, step, default, today, steps, format, decimals, prefix and suffix are optional.

Checks

A number without param or label fails the typecheck. A param not declared in filterParams is not kept when the page reloads.