Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: update ripple styles

Dillion Verma1532460792b3
diff --git a/registry/default/magicui/ripple.tsx b/registry/default/magicui/ripple.tsx
index c302e2fd..cbda4dee 100644
--- a/registry/default/magicui/ripple.tsx
+++ b/registry/default/magicui/ripple.tsx
@@ -18,8 +18,8 @@ const Ripple = React.memo(function Ripple({
return (
<div
className={cn(
- "absolute inset-0 bg-white/5 [mask-image:linear-gradient(to_bottom,white,transparent)]",
- className,
+ "pointer-events-none select-none absolute inset-0 [mask-image:linear-gradient(to_bottom,white,transparent)]",
+ className
)}
>
{Array.from({ length: numCircles }, (_, i) => {