aura-glass
Version:
A comprehensive glassmorphism design system for React applications with 142+ production-ready components
12 lines • 552 B
TypeScript
export interface UseGlassParallaxOptions {
strength?: number;
enabled?: boolean;
}
/**
* Applies a lightweight pointer-based parallax by updating CSS variables
* --glass-parallax-x and --glass-parallax-y on the target element.
* Works with CSS utilities that read these variables (e.g., specular overlays).
*/
export declare function useGlassParallax<T extends HTMLElement>(targetRef: React.RefObject<T>, { strength, enabled }?: UseGlassParallaxOptions): void;
export default useGlassParallax;
//# sourceMappingURL=useGlassParallax.d.ts.map