Animated text that reveals each character with a shutter-style sliced blur effect, triggered on load, scroll, click, or hover.
"use client"; import ShutterText from "@/components/ui/shutter-text"; export default function ShutterTextScrollDemo() { return ( <div className="flex min-h-[400px] w-full flex-col items-center justify-center gap-4"> <p className="text-muted-foreground text-sm"> Scroll down to trigger the animation </p> <ShutterText text="SHUTTER" trigger="scroll" className="text-7xl" /> </div> ); }