About
A staggered, clipped word-by-word text reveal for expressive headlines, with a replayable demo. Part of the MIT-licensed Systra Free UI collection (systra.tools).
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Masked Word Rise to your project and fits it to your theme.
Code
How Masked Word Rise is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { useState } from "react";
import { MaskedWordRise } from "@/components/ui/masked-word-rise";
const settings = { text: "Your AI can code. Now give it taste." };
export default function Demo(props: Partial<typeof settings>) {
const s = { ...settings, ...props };
const [replay, setReplay] = useState(0);
return (
<div className="flex min-h-[420px] w-full flex-col items-center justify-center gap-10 bg-neutral-50 p-6 text-neutral-900 dark:bg-neutral-900 dark:text-neutral-100 sm:p-8">
<div className="w-full max-w-2xl text-center">
<MaskedWordRise key={replay} text={s.text} className="text-3xl font-semibold tracking-tight sm:text-5xl" />
</div>
<button type="button" onClick={() => setReplay(v => v + 1)} className="rounded-lg border border-neutral-300 px-4 py-2 text-xs font-medium text-neutral-700 hover:bg-neutral-100 focus-visible:outline-2 focus-visible:outline-offset-4 dark:border-neutral-600 dark:text-neutral-200 dark:hover:bg-neutral-800" aria-label="Replay animation">↻ Replay animation</button>
</div>
);
}







