diff --git a/src/constants/code/Components/scrollFloatCode.ts b/src/constants/code/Components/scrollFloatCode.ts
index d4cd34b..f7bba6c 100644
--- a/src/constants/code/Components/scrollFloatCode.ts
+++ b/src/constants/code/Components/scrollFloatCode.ts
@@ -2,7 +2,7 @@ import code from '@content/TextAnimations/ScrollFloat/ScrollFloat.vue?raw'
import type { CodeObject } from '../../../types/code'
export const scrollFloatCode: CodeObject = {
- cli: `npx jsrepo add https://vue-bits.dev/ui/Components/ProfileCard`,
+ cli: `npx jsrepo add https://vue-bits.dev/ui/TextAnimations/ScrollFloat`,
usage: `
-
-
-
- {{ char === " " ? "\u00A0" : char }}
-
+
+
+
+ {{ char === " " ? "\u00A0" : char }}
-
-
-
-
-
-
\ No newline at end of file
+});
+
+watch(
+ [
+ () => props.children,
+ () => props.scrollContainerRef,
+ () => props.animationDuration,
+ () => props.ease,
+ () => props.scrollStart,
+ () => props.scrollEnd,
+ () => props.stagger
+ ],
+ () => {
+ initializeAnimation();
+ },
+ { deep: true }
+);
+
\ No newline at end of file
diff --git a/src/demo/TextAnimations/ScrollFloatDemo.vue b/src/demo/TextAnimations/ScrollFloatDemo.vue
index fc0eda0..82cbb4f 100644
--- a/src/demo/TextAnimations/ScrollFloatDemo.vue
+++ b/src/demo/TextAnimations/ScrollFloatDemo.vue
@@ -1,5 +1,4 @@
-