Skip to content

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

🐛 fix: animated beam style

Dillion Verma9bec9b192960
diff --git a/registry/components/magicui/animated-beam.tsx b/registry/components/magicui/animated-beam.tsx
index 3dc1a36e..ff2233ae 100644
--- a/registry/components/magicui/animated-beam.tsx
+++ b/registry/components/magicui/animated-beam.tsx
@@ -141,6 +141,7 @@ export const AnimatedBeam: React.FC<AnimatedBeamProps> = ({
/>
<path
d={pathD}
+ strokeWidth={pathWidth}
stroke={`url(#${id})`}
strokeOpacity="1"
strokeLinecap="round"