diff --git a/src/constants/Categories.ts b/src/constants/Categories.ts
index b8d5165..025fd7c 100644
--- a/src/constants/Categories.ts
+++ b/src/constants/Categories.ts
@@ -1,5 +1,5 @@
// Highlighted sidebar items
-export const NEW = ['Target Cursor', 'Ripple Grid', 'Magic Bento', 'Galaxy', 'Glass Surface'];
+export const NEW = ['Target Cursor', 'Ripple Grid', 'Magic Bento', 'Galaxy', 'Text Type', 'Glass Surface'];
export const UPDATED = [];
// Used for main sidebar navigation
@@ -26,7 +26,8 @@ export const CATEGORIES = [
'Scroll Reveal',
'Rotating Text',
'Glitch Text',
- 'Scroll Velocity'
+ 'Scroll Velocity',
+ 'Text Type'
]
},
{
diff --git a/src/constants/Components.ts b/src/constants/Components.ts
index 6857dd8..b196e9e 100644
--- a/src/constants/Components.ts
+++ b/src/constants/Components.ts
@@ -42,6 +42,7 @@ const textAnimations = {
'rotating-text': () => import("../demo/TextAnimations/RotatingTextDemo.vue"),
'glitch-text': () => import("../demo/TextAnimations/GlitchTextDemo.vue"),
'scroll-velocity': () => import("../demo/TextAnimations/ScrollVelocityDemo.vue"),
+ 'text-type': () => import("../demo/TextAnimations/TextTypeDemo.vue"),
};
const components = {
diff --git a/src/constants/code/TextAnimations/textTypeCode.ts b/src/constants/code/TextAnimations/textTypeCode.ts
new file mode 100644
index 0000000..ecb947b
--- /dev/null
+++ b/src/constants/code/TextAnimations/textTypeCode.ts
@@ -0,0 +1,19 @@
+import code from '@/content/TextAnimations/TextType/TextType.vue?raw';
+import { createCodeObject } from '@/types/code';
+
+export const textType = createCodeObject(code, 'TextAnimations/TextType', {
+ installation: `npm install gsap`,
+ usage: `
+
+
+
+`
+});
diff --git a/src/content/TextAnimations/TextType/TextType.vue b/src/content/TextAnimations/TextType/TextType.vue
new file mode 100644
index 0000000..b0fc831
--- /dev/null
+++ b/src/content/TextAnimations/TextType/TextType.vue
@@ -0,0 +1,176 @@
+
+
+
+
+
+ {{ displayedText }}
+
+
+ {{ cursorCharacter }}
+
+
+
diff --git a/src/demo/TextAnimations/TextTypeDemo.vue b/src/demo/TextAnimations/TextTypeDemo.vue
new file mode 100644
index 0000000..05a131d
--- /dev/null
+++ b/src/demo/TextAnimations/TextTypeDemo.vue
@@ -0,0 +1,228 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+