UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: update hero in view
Dillion Vermac915a586cd3b
diff --git a/registry/components/magicui/fade-in.tsx b/registry/components/magicui/fade-in.tsxindex a9da4fbe..6f8e5e33 100644--- a/registry/components/magicui/fade-in.tsx+++ b/registry/components/magicui/fade-in.tsx@@ -18,7 +18,7 @@ export default function FadeIn({}) {const ref = useRef(null);const inView = useInView(ref, {- once: false,+ once: true,margin: viewTriggerOffset ? "-128px" : "0px",});