@izhann/react-cursor-fx
Version:
Interactive cursor effects for React and Next.js applications — zero runtime dependencies
19 lines (18 loc) • 603 B
TypeScript
import type React from "react";
interface CursorRevealProps {
children: React.ReactNode;
/** Diameter of the reveal circle in px */
size?: number;
/** Color of the overlay that hides content (use rgba) */
overlay?: string;
/** Backdrop blur applied to hidden areas in px (0 = no blur) */
blur?: number;
className?: string;
style?: React.CSSProperties;
}
/**
* Wraps content with a dark overlay. Moving the cursor over it
* cuts a circular hole in the overlay, revealing what's beneath.
*/
export declare const CursorReveal: React.FC<CursorRevealProps>;
export {};