Skip to content

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

🐛 fix: svg icon fix

Dillion Verma3b701882d52a
diff --git a/registry/components/example/animated-beam-bidirectional.tsx b/registry/components/example/animated-beam-bidirectional.tsx
index 566f8f1e..1557f1dd 100644
--- a/registry/components/example/animated-beam-bidirectional.tsx
+++ b/registry/components/example/animated-beam-bidirectional.tsx
@@ -38,7 +38,7 @@ export default function AnimatedBeamDemo() {
<Icons.user className="text-black" />
</Circle>
<Circle ref={div2Ref}>
- <Icons.openai />
+ <Icons.openai className="h-6 w-6" />
</Circle>
</div>
</div>
diff --git a/registry/components/example/animated-beam-demo.tsx b/registry/components/example/animated-beam-demo.tsx
index e1025bf5..c8aaf08a 100644
--- a/registry/components/example/animated-beam-demo.tsx
+++ b/registry/components/example/animated-beam-demo.tsx
@@ -40,29 +40,29 @@ export default function AnimatedBeamDemo() {
<div className="flex h-full w-full flex-col items-stretch justify-between gap-10">
<div className="flex flex-row items-center justify-between">
<Circle ref={div1Ref}>
- <Icons.googleDrive />
+ <Icons.googleDrive className="h-6 w-6" />
</Circle>
<Circle ref={div5Ref}>
- <Icons.googleDocs />
+ <Icons.googleDocs className="h-6 w-6" />
</Circle>
</div>
<div className="flex flex-row items-center justify-between">
<Circle ref={div2Ref}>
- <Icons.notion />
+ <Icons.notion className="h-6 w-6" />
</Circle>
<Circle ref={div4Ref} className="h-16 w-16">
- <Icons.openai />
+ <Icons.openai className="h-6 w-6" />
</Circle>
<Circle ref={div6Ref}>
- <Icons.zapier />
+ <Icons.zapier className="h-6 w-6" />
</Circle>
</div>
<div className="flex flex-row items-center justify-between">
<Circle ref={div3Ref}>
- <Icons.whatsapp />
+ <Icons.whatsapp className="h-6 w-6" />
</Circle>
<Circle ref={div7Ref}>
- <Icons.messenger />
+ <Icons.messenger className="h-6 w-6" />
</Circle>
</div>
</div>
diff --git a/registry/components/example/animated-beam-multiple-inputs.tsx b/registry/components/example/animated-beam-multiple-inputs.tsx
index 8bd6fe9b..7f881794 100644
--- a/registry/components/example/animated-beam-multiple-inputs.tsx
+++ b/registry/components/example/animated-beam-multiple-inputs.tsx
@@ -40,24 +40,24 @@ export default function AnimatedBeamDemo() {
<div className="flex h-full w-full flex-row items-stretch justify-between gap-10">
<div className="flex flex-col justify-center gap-2">
<Circle ref={div1Ref}>
- <Icons.googleDrive />
+ <Icons.googleDrive className="h-6 w-6" />
</Circle>
<Circle ref={div2Ref}>
- <Icons.googleDocs />
+ <Icons.googleDocs className="h-6 w-6" />
</Circle>
<Circle ref={div3Ref}>
- <Icons.whatsapp />
+ <Icons.whatsapp className="h-6 w-6" />
</Circle>
<Circle ref={div4Ref}>
- <Icons.messenger />
+ <Icons.messenger className="h-6 w-6" />
</Circle>
<Circle ref={div5Ref}>
- <Icons.notion />
+ <Icons.notion className="h-6 w-6" />
</Circle>
</div>
<div className="flex flex-col justify-center">
<Circle ref={div6Ref} className="h-16 w-16">
- <Icons.openai />
+ <Icons.openai className="h-6 w-6" />
</Circle>
</div>
<div className="flex flex-col justify-center">
diff --git a/registry/components/example/animated-beam-multiple-outputs.tsx b/registry/components/example/animated-beam-multiple-outputs.tsx
index fe922a00..a5b03e15 100644
--- a/registry/components/example/animated-beam-multiple-outputs.tsx
+++ b/registry/components/example/animated-beam-multiple-outputs.tsx
@@ -45,24 +45,24 @@ export default function AnimatedBeamDemo() {
</div>
<div className="flex flex-col justify-center">
<Circle ref={div6Ref} className="h-16 w-16">
- <Icons.openai />
+ <Icons.openai className="h-6 w-6" />
</Circle>
</div>
<div className="flex flex-col justify-center gap-2">
<Circle ref={div1Ref}>
- <Icons.googleDrive />
+ <Icons.googleDrive className="h-6 w-6" />
</Circle>
<Circle ref={div2Ref}>
- <Icons.googleDocs />
+ <Icons.googleDocs className="h-6 w-6" />
</Circle>
<Circle ref={div3Ref}>
- <Icons.whatsapp />
+ <Icons.whatsapp className="h-6 w-6" />
</Circle>
<Circle ref={div4Ref}>
- <Icons.messenger />
+ <Icons.messenger className="h-6 w-6" />
</Circle>
<Circle ref={div5Ref}>
- <Icons.notion />
+ <Icons.notion className="h-6 w-6" />
</Circle>
</div>
</div>
diff --git a/registry/components/example/animated-beam-unidirectional.tsx b/registry/components/example/animated-beam-unidirectional.tsx
index de7cb784..027484c0 100644
--- a/registry/components/example/animated-beam-unidirectional.tsx
+++ b/registry/components/example/animated-beam-unidirectional.tsx
@@ -38,7 +38,7 @@ export default function AnimatedBeamDemo() {
<Icons.user className="text-black" />
</Circle>
<Circle ref={div2Ref}>
- <Icons.openai />
+ <Icons.openai className="h-6 w-6" />
</Circle>
</div>
</div>
diff --git a/registry/components/magicui/animated-beam.tsx b/registry/components/magicui/animated-beam.tsx
index 9b434a1e..3294c140 100644
--- a/registry/components/magicui/animated-beam.tsx
+++ b/registry/components/magicui/animated-beam.tsx
@@ -128,7 +128,7 @@ export const AnimatedBeam: React.FC<AnimatedBeamProps> = ({
height={svgDimensions.height}
xmlns="http://www.w3.org/2000/svg"
className={cn(
- "pointer-events-none absolute left-0 top-0 stroke-2",
+ "pointer-events-none absolute left-0 top-0 transform-gpu stroke-2",
className,
)}
viewBox={`0 0 ${svgDimensions.width} ${svgDimensions.height}`}