<script>
	export let foo;
</script>

<input type='checkbox' bind:checked={foo}>
<p>{foo}</p>