Cool mode effect for buttons, links, and other DOMs.
1import { Button } from "@/components/ui/button";
2import { CoolMode } from "@/components/magicui/cool-mode";
3
4export function CoolModeDemo() {
5 return (
6 <div className="relative justify-center">
7 <CoolMode>
8 <Button>Click Me!</Button>
9 </CoolMode>
10 </div>
11 );
12}