Animate text using the TextAnimate component
The
TextAnimate component allows you to animate text by splitting it into characters, words, or lines and applying predefined animation presets. It uses motion/react (Framer Motion) for transitions and supports accessibility by rendering a screen-reader-only version of the full text.import { TextAnimate } from '@/components/ebonui/text-animate';
export default function Page() {
return (
<TextAnimate
text="Hello World"
preset="blurInUp"
split="word"
/>
);
}