@@ -18,6 +18,7 @@
/* width */
.immich-scrollbar::-webkit-scrollbar {
width: 8px;
+ height: 8px;
}
/* Track */
diff --git a/src/lib/components/Switch/Switch.svelte b/src/lib/components/Switch/Switch.svelte
new file mode 100644
index 0000000..8017786
--- /dev/null
+++ b/src/lib/components/Switch/Switch.svelte
@@ -0,0 +1,99 @@
+
+
+
diff --git a/src/lib/index.ts b/src/lib/index.ts
index b8a40f7..d9eefae 100644
--- a/src/lib/index.ts
+++ b/src/lib/index.ts
@@ -30,6 +30,7 @@ export { default as HStack } from '$lib/components/Stack/HStack.svelte';
export { default as Stack } from '$lib/components/Stack/Stack.svelte';
export { default as VStack } from '$lib/components/Stack/VStack.svelte';
export { default as SupporterBadge } from '$lib/components/SupporterBadge/SupporterBadge.svelte';
+export { default as Switch } from '$lib/components/Switch/Switch.svelte';
export { default as Text } from '$lib/components/Text/Text.svelte';
export * from '$lib/types.js';
export * from '$lib/utilities/byte-units.js';
diff --git a/src/routes/components/button/+page.svelte b/src/routes/components/button/+page.svelte
index aad2f85..3fce7ad 100644
--- a/src/routes/components/button/+page.svelte
+++ b/src/routes/components/button/+page.svelte
@@ -1,5 +1,6 @@
-
diff --git a/src/routes/components/field/+page.svelte b/src/routes/components/field/+page.svelte
index 4344461..8691cdf 100644
--- a/src/routes/components/field/+page.svelte
+++ b/src/routes/components/field/+page.svelte
@@ -1,9 +1,12 @@
-
diff --git a/src/routes/components/navbar/+page.svelte b/src/routes/components/navbar/+page.svelte
index d824b4f..fda8938 100644
--- a/src/routes/components/navbar/+page.svelte
+++ b/src/routes/components/navbar/+page.svelte
@@ -11,4 +11,4 @@
];
-
diff --git a/src/routes/components/navbar/BasicExample.svelte b/src/routes/components/navbar/BasicExample.svelte
index bdaca84..71b9378 100644
--- a/src/routes/components/navbar/BasicExample.svelte
+++ b/src/routes/components/navbar/BasicExample.svelte
@@ -3,6 +3,6 @@
import { mdiHome } from '@mdi/js';
-
+
diff --git a/src/routes/components/navbar/GroupExample.svelte b/src/routes/components/navbar/GroupExample.svelte
index 953b0b8..df0dbab 100644
--- a/src/routes/components/navbar/GroupExample.svelte
+++ b/src/routes/components/navbar/GroupExample.svelte
@@ -1,6 +1,5 @@
diff --git a/src/routes/components/scrollable/+page.svelte b/src/routes/components/scrollable/+page.svelte
new file mode 100644
index 0000000..327dfff
--- /dev/null
+++ b/src/routes/components/scrollable/+page.svelte
@@ -0,0 +1,9 @@
+
+
+
diff --git a/src/routes/components/scrollable/BasicExample.svelte b/src/routes/components/scrollable/BasicExample.svelte
new file mode 100644
index 0000000..0eaf5e9
--- /dev/null
+++ b/src/routes/components/scrollable/BasicExample.svelte
@@ -0,0 +1,22 @@
+
+
+
+ Vertical
+
+
+
+
+
+
+
+
+ Horizontal
+
+
+
+
+
+
diff --git a/src/routes/components/switch/+page.svelte b/src/routes/components/switch/+page.svelte
new file mode 100644
index 0000000..814de4e
--- /dev/null
+++ b/src/routes/components/switch/+page.svelte
@@ -0,0 +1,20 @@
+
+
+
+ A boolean input element
+
diff --git a/src/routes/components/switch/BasicExample.svelte b/src/routes/components/switch/BasicExample.svelte
new file mode 100644
index 0000000..2cbc2f1
--- /dev/null
+++ b/src/routes/components/switch/BasicExample.svelte
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/routes/components/switch/ColorExample.svelte b/src/routes/components/switch/ColorExample.svelte
new file mode 100644
index 0000000..76f2279
--- /dev/null
+++ b/src/routes/components/switch/ColorExample.svelte
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/routes/components/switch/FormExample.svelte b/src/routes/components/switch/FormExample.svelte
new file mode 100644
index 0000000..93c7638
--- /dev/null
+++ b/src/routes/components/switch/FormExample.svelte
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+ Disabled
+
+
+