diff --git a/src/constants/Categories.ts b/src/constants/Categories.ts
index 9234c53..6dae674 100644
--- a/src/constants/Categories.ts
+++ b/src/constants/Categories.ts
@@ -19,6 +19,7 @@ export const CATEGORIES = [
'Falling Text',
'Text Cursor',
'Decrypted Text',
+ 'Scroll Float'
]
},
{
diff --git a/src/constants/Components.ts b/src/constants/Components.ts
index d1c9376..ea07b7e 100644
--- a/src/constants/Components.ts
+++ b/src/constants/Components.ts
@@ -23,6 +23,7 @@ const textAnimations = {
'falling-text': () => import("../demo/TextAnimations/FallingTextDemo.vue"),
'text-cursor': () => import("../demo/TextAnimations/TextCursorDemo.vue"),
'decrypted-text': () => import("../demo/TextAnimations/DecryptedTextDemo.vue"),
+ 'scroll-float': () => import("../demo/TextAnimations/ScrollFloatDemo.vue"),
};
const components = {
diff --git a/src/constants/code/TextAnimations/scrollFloatCode.ts b/src/constants/code/TextAnimations/scrollFloatCode.ts
new file mode 100644
index 0000000..f7bba6c
--- /dev/null
+++ b/src/constants/code/TextAnimations/scrollFloatCode.ts
@@ -0,0 +1,25 @@
+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/TextAnimations/ScrollFloat`,
+ usage: `
+
+
+
+`,
+ code
+}
\ No newline at end of file
diff --git a/src/content/TextAnimations/ScrollFloat/ScrollFloat.vue b/src/content/TextAnimations/ScrollFloat/ScrollFloat.vue
new file mode 100644
index 0000000..6aad9af
--- /dev/null
+++ b/src/content/TextAnimations/ScrollFloat/ScrollFloat.vue
@@ -0,0 +1,123 @@
+
+
+
+
+ {{ char === " " ? "\u00A0" : char }}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/demo/TextAnimations/ScrollFloatDemo.vue b/src/demo/TextAnimations/ScrollFloatDemo.vue
new file mode 100644
index 0000000..c751f47
--- /dev/null
+++ b/src/demo/TextAnimations/ScrollFloatDemo.vue
@@ -0,0 +1,189 @@
+
+
+
+
+
+
+ Scroll Down
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file