diff --git a/src/constants/Categories.ts b/src/constants/Categories.ts
index bc3b57c..8e525aa 100644
--- a/src/constants/Categories.ts
+++ b/src/constants/Categories.ts
@@ -49,6 +49,7 @@ export const CATEGORIES = [
'Meta Balls',
'Image Trail',
'Shape Blur',
+ 'Target Cursor',
]
},
{
diff --git a/src/constants/Components.ts b/src/constants/Components.ts
index 1966ee7..2c8bd01 100644
--- a/src/constants/Components.ts
+++ b/src/constants/Components.ts
@@ -16,6 +16,7 @@ const animations = {
'meta-balls': () => import('../demo/Animations/MetaBallsDemo.vue'),
'image-trail': () => import('../demo/Animations/ImageTrailDemo.vue'),
'shape-blur': () => import('../demo/Animations/ShapeBlurDemo.vue'),
+ 'target-cursor': () => import('../demo/Animations/TargetCursorDemo.vue'),
};
const textAnimations = {
diff --git a/src/constants/code/Animations/targetCursorCode.ts b/src/constants/code/Animations/targetCursorCode.ts
new file mode 100644
index 0000000..bd22113
--- /dev/null
+++ b/src/constants/code/Animations/targetCursorCode.ts
@@ -0,0 +1,22 @@
+import code from '@/content/Animations/TargetCursor/TargetCursor.vue?raw';
+import type { CodeObject } from '../../../types/code';
+
+export const targetCursor: CodeObject = {
+ cli: `npx jsrepo add https://vue-bits.dev/ui/Animations/TargetCursor`,
+ installation: `npm install gsap`,
+ usage: `
+
+
+ Hover over the elements below
+
+ Hover target
+
+
+`,
+ code
+};
diff --git a/src/content/Animations/TargetCursor/TargetCursor.vue b/src/content/Animations/TargetCursor/TargetCursor.vue
new file mode 100644
index 0000000..75cc9dd
--- /dev/null
+++ b/src/content/Animations/TargetCursor/TargetCursor.vue
@@ -0,0 +1,339 @@
+
+
+
+
+
diff --git a/src/demo/Animations/TargetCursorDemo.vue b/src/demo/Animations/TargetCursorDemo.vue
new file mode 100644
index 0000000..bfc038f
--- /dev/null
+++ b/src/demo/Animations/TargetCursorDemo.vue
@@ -0,0 +1,103 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+