<script>
	export let foo = 0;
</script>

<input type="number" bind:value={foo} >
<input type="range" bind:value={foo} >