About
Text with sliding background highlight animation using mix-blend-mode.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Highlighted Text to your project and fits it to your theme.
Code
How Highlighted Text is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import HighlightedText from "@/components/ui/highlighted-text"
export default function Demo() {
return (
<div className="flex items-center justify-center min-h-[400px] p-8">
<HighlightedText className="text-4xl font-bold">Build something amazing</HighlightedText>
</div>
)
}
















