Scroll Reveal added to text animations

Signed-off-by: zubairrafi <walleeva2018@gmail.com>
This commit is contained in:
zubairrafi
2025-07-12 12:43:14 +06:00
parent 7d64e4b756
commit 7a780b8114
5 changed files with 399 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ export const CATEGORIES = [
'Decrypted Text',
'True Focus',
'Scroll Float',
'Scroll Reveal',
]
},
{

View File

@@ -25,8 +25,9 @@ const textAnimations = {
'decrypted-text': () => import("../demo/TextAnimations/DecryptedTextDemo.vue"),
'true-focus': () => import("../demo/TextAnimations/TrueFocusDemo.vue"),
'scroll-float': () => import("../demo/TextAnimations/ScrollFloatDemo.vue"),
'scroll-reveal': ()=> import("../demo/TextAnimations/ScrollRevealDemo.vue"),
};
const components = {
'masonry': () => import("../demo/Components/MasonryDemo.vue"),
'profile-card': () => import("../demo/Components/ProfileCardDemo.vue"),

View File

@@ -0,0 +1,26 @@
import code from '@content/TextAnimations/ScrollReveal/ScrollReveal.vue?raw'
import type { CodeObject } from '../../../types/code'
export const scrollRevealCode: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/TextAnimations/ScrollReveal`,
usage: `<template>
<ScrollReveal
:children="scrollText"
:enable-blur="enableBlur"
:base-opacity="baseOpacity"
:base-rotation="baseRotation"
:blur-strength="blurStrength"
:container-class-name="containerClassName"
:text-class-name="textClassName"
:rotation-end="rotationEnd"
:word-animation-end="wordAnimationEnd"
:scroll-container-ref="{ current: containerRef }"
:key="rerenderKey"
/>
</template>
<script setup lang="ts">
import ScrollReveal from "./ScrollReveal.vue";
</script>`,
code
}