diff --git a/src/constants/Categories.ts b/src/constants/Categories.ts index 72fb68f..5f911e7 100644 --- a/src/constants/Categories.ts +++ b/src/constants/Categories.ts @@ -57,6 +57,7 @@ export const CATEGORIES = [ { name: 'Components', subcategories: [ + 'Animated List', 'Masonry', 'Profile Card', 'Dock', diff --git a/src/constants/Components.ts b/src/constants/Components.ts index 668d513..913a3d4 100644 --- a/src/constants/Components.ts +++ b/src/constants/Components.ts @@ -45,6 +45,7 @@ const textAnimations = { }; const components = { + 'animated-list': () => import('../demo/Components/AnimatedListDemo.vue'), 'masonry': () => import('../demo/Components/MasonryDemo.vue'), 'profile-card': () => import('../demo/Components/ProfileCardDemo.vue'), 'dock': () => import('../demo/Components/DockDemo.vue'), diff --git a/src/constants/code/Components/animatedListCode.ts b/src/constants/code/Components/animatedListCode.ts new file mode 100644 index 0000000..04a5bef --- /dev/null +++ b/src/constants/code/Components/animatedListCode.ts @@ -0,0 +1,27 @@ +import code from '@content/Components/AnimatedList/AnimatedList.vue?raw' +import type { CodeObject } from '../../../types/code' + +export const animatedList: CodeObject = { + cli: `npx jsrepo add https://vue-bits.dev/ui/Components/AnimatedList`, + installation: `npm install motion-v`, + usage: ` + +`, + code +} diff --git a/src/content/Components/AnimatedList/AnimatedList.vue b/src/content/Components/AnimatedList/AnimatedList.vue new file mode 100644 index 0000000..cc1d846 --- /dev/null +++ b/src/content/Components/AnimatedList/AnimatedList.vue @@ -0,0 +1,185 @@ + + + diff --git a/src/demo/Components/AnimatedListDemo.vue b/src/demo/Components/AnimatedListDemo.vue new file mode 100644 index 0000000..052355c --- /dev/null +++ b/src/demo/Components/AnimatedListDemo.vue @@ -0,0 +1,100 @@ + + +