svelte-numeric-input
v0.0.1
Published
A numeric input component for Svelte 5.
Downloads
9
Readme
svelte-numeric-input
A numeric input component for Svelte 5.
Installation
npm install --save svelte-numeric-input
Usage
<script>
import NumericInput from 'svelte-numeric-input';
</script>
<NumericInput />
Props
| 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.
License
MIT