"use client"; import { useId } from "react"; import { motion, useReducedMotion } from "motion/react"; type LiquidLoopProps = { className?: string; color?: string; /** Loader width in pixels. */ size?: number; /** 1 is the default pace; 2 is twice as fast. */ speed?: number; /** Read out by screen readers. */ label?: string; }; /* LiquidLoop: drops chase each other round a circle and melt together where they meet (SVG goo filter). */ export function LiquidLoop({ className = "", color = "#a78bfa", size = 72, speed = 1, label = "Loading", }: LiquidLoopProps) { const reduce = useReducedMotion(); const filterId = `goo-${useId().replace(/:/g, "")}`; const drops = [0.34, 0.26, 0.2, 0.15]; return (