InputNumber

To use the Number Input component, import it from '$lib/components'.

typescript

Then, use it in your Svelte template:

html

preview

The Number Input component is a simple Svelte component that accepts several props:

typescript

The Number Input component is based on DaisyUI input so for more customization options, you can refer to their documentation.