From e6cba7c6d273b400eb70d10b1cab8a3bcc42b251 Mon Sep 17 00:00:00 2001
From: Kit La Touche <kit@transneptune.net>
Date: Sun, 3 Aug 2025 23:02:37 -0400
Subject: Add preliminary notifications UX in settings area

Not wired up to any server actions yet.
---
 ui/lib/components/Toggle.svelte | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 ui/lib/components/Toggle.svelte

(limited to 'ui/lib/components/Toggle.svelte')

diff --git a/ui/lib/components/Toggle.svelte b/ui/lib/components/Toggle.svelte
new file mode 100644
index 0000000..7e71b5a
--- /dev/null
+++ b/ui/lib/components/Toggle.svelte
@@ -0,0 +1,11 @@
+<script>
+  let { text, name, onclick = async () => {} } = $props();
+</script>
+
+<label>
+  <div class="toggle">
+    <input type="checkbox" name={name} onclick={onclick}/>
+    <span class="slider"></span>
+  </div>
+  { text }
+</label>
-- 
cgit v1.2.3

