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 ShutterTextClickDemo() { return ( <div className="flex min-h-[300px] w-full flex-col items-center justify-center gap-4"> <p className="text-muted-foreground text-sm"> Click to trigger the shutter effect </p> <ShutterText text="CLICK ME" trigger="click" className="cursor-pointer text-7xl" /> </div> ); }