A numeric input component for Svelte 5.
npm install --save svelte-numeric-input
<script>
import NumericInput from 'svelte-numeric-input';
</script>
<NumericInput />
Name | Type | Default | Description |
---|---|---|---|
value | number | 0 | The value of the input. |
decimals | number | 2 | The number of decimal places. |
All other props are passed to the underlying <input>
element.
MIT