diff --git a/src/constants/Categories.ts b/src/constants/Categories.ts index 7480c84..264bbd6 100644 --- a/src/constants/Categories.ts +++ b/src/constants/Categories.ts @@ -55,6 +55,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 b9a6e2a..36cc16a 100644 --- a/src/constants/Components.ts +++ b/src/constants/Components.ts @@ -43,6 +43,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 @@ + + +