About
Characters appearing from faded view
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Fade Text to your project and fits it to your theme.
Code
How Fade Text is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { FadeText } from "@/components/ui/fade-text"
export function FadeTextDemo() {
return (
<div className="flex flex-col space-y-8 text-center">
<FadeText
className="text-4xl font-bold text-black dark:text-white"
direction="up"
framerProps={{
show: { transition: { delay: 0.2 } },
}}
text="Fade Up"
/>
<FadeText
className="text-4xl font-bold text-black dark:text-white"
direction="right"
framerProps={{
show: { transition: { delay: 0.4 } },
}}
text="Fade Right"
/>
<FadeText
className="text-4xl font-bold text-black dark:text-white"
direction="down"
framerProps={{
show: { transition: { delay: 0.6 } },
}}
text="Fade Down"
/>
<FadeText
className="text-4xl font-bold text-black dark:text-white"
direction="left"
framerProps={{
show: { transition: { delay: 0.8 } },
}}
text="Fade Left"
/>
</div>
);
}















