About
A CSS-only shimmering text effect for headlines that sweeps a bright highlight band across the text in an infinite, reduced-motion-safe loop.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Text Shimmer to your project and fits it to your theme.
Code
How Text Shimmer is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { TextShimmer } from "@/components/ui/text-shimmer";
export default function TextShimmerDemo() {
return (
<div className="flex h-screen w-full items-center justify-center bg-background">
<TextShimmer
text="Generating your response..."
as="h2"
className="text-3xl font-semibold"
/>
</div>
);
}
















