diff --git a/apps/www/src/content/docs/components/switch.md b/apps/www/src/content/docs/components/switch.md
index d1dbfd08..4fed6345 100644
--- a/apps/www/src/content/docs/components/switch.md
+++ b/apps/www/src/content/docs/components/switch.md
@@ -48,6 +48,19 @@ import { Switch } from '@/components/ui/switch'
```
+# Add icon inside switch thumb
+
+```vue
+
+
+
+
+
+
+
+
+```
+
## Examples
### Form
diff --git a/apps/www/src/lib/registry/default/ui/switch/Switch.vue b/apps/www/src/lib/registry/default/ui/switch/Switch.vue
index 49d9af1f..acab25ed 100644
--- a/apps/www/src/lib/registry/default/ui/switch/Switch.vue
+++ b/apps/www/src/lib/registry/default/ui/switch/Switch.vue
@@ -8,20 +8,14 @@ import {
useForwardPropsEmits,
} from 'radix-vue'
import { computed, type HTMLAttributes } from 'vue'
-
const props = defineProps()
-
const emits = defineEmits()
-
const delegatedProps = computed(() => {
const { class: _, ...delegated } = props
-
return delegated
})
-
const forwarded = useForwardPropsEmits(delegatedProps, emits)
-
+ :class="cn('pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5')"
+ >
+
+
diff --git a/apps/www/src/lib/registry/new-york/ui/switch/Switch.vue b/apps/www/src/lib/registry/new-york/ui/switch/Switch.vue
index bc2da72f..afa7c27d 100644
--- a/apps/www/src/lib/registry/new-york/ui/switch/Switch.vue
+++ b/apps/www/src/lib/registry/new-york/ui/switch/Switch.vue
@@ -32,6 +32,8 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
>
+ >
+
+
diff --git a/apps/www/src/public/registry/styles/default/switch.json b/apps/www/src/public/registry/styles/default/switch.json
index e1ed9cb8..02968d64 100644
--- a/apps/www/src/public/registry/styles/default/switch.json
+++ b/apps/www/src/public/registry/styles/default/switch.json
@@ -7,7 +7,7 @@
"files": [
{
"name": "Switch.vue",
- "content": "\n\n\n \n \n \n\n"
+ "content": "\n\n \n \n \n \n \n\n"
},
{
"name": "index.ts",
diff --git a/apps/www/src/public/registry/styles/new-york/switch.json b/apps/www/src/public/registry/styles/new-york/switch.json
index 2ba8f895..59167987 100644
--- a/apps/www/src/public/registry/styles/new-york/switch.json
+++ b/apps/www/src/public/registry/styles/new-york/switch.json
@@ -7,7 +7,7 @@
"files": [
{
"name": "Switch.vue",
- "content": "\n\n\n \n \n \n\n"
+ "content": "\n\n\n \n \n \n \n \n\n"
},
{
"name": "index.ts",