6 lines
76 B

<script>
let val;
</script>
<input bind:value={val} />
<slot {val}></slot>