Labelled switch row for settings forms.

Usage

Example.svelte
<script lang="ts">
	import SettingSwitch from "@orochibraru/ui/blocks/setting-switch";
</script>

<form method="POST" action="?/save">
	<SettingSwitch
		name="push"
		label="Push notifications"
		description="On this device only."
		checked
	/>
	<SettingSwitch
		name="digest"
		label="Weekly digest"
		description="Every Monday morning."
		checked={false}
	/>
</form>