Morphing Text
A cinematic text animation that morphs fluidly between a sequence of strings using advanced SVG filters and blur blending.
Installation
npx raya-ui@latest add morphing-textFile Structure
your-project
components
ui
morphing-text
MorphingText.vue
API Reference
Props
textsstring[]An array of strings to cycle through endlessly.
morphTimenumber1.5The duration of the actual morphing transition (blur to sharp) in seconds.
coolDownTimenumber0.5The duration the text stays fully visible and sharp before morphing into the next string.
Settings
Comma separated list of words to morph between.
1.5s
0.5s
source-code.vue
<script setup lang="ts">
import { MorphingText } from '@/components/ui/morphing-text'
const texts = [
"Raya",
"UI",
"Is",
"Awesome"
]
</script>
<template>
<MorphingText
:texts="texts"
/>
</template>