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 scroll velocity code

Dillion Verma1559c39fded8
diff --git a/registry/index.tsx b/registry/index.tsx
index ebf3acb4..376459ba 100644
--- a/registry/index.tsx
+++ b/registry/index.tsx
@@ -197,6 +197,11 @@ const ui: Registry = {
type: "components:ui",
files: ["registry/components/magicui/word-fade-in.tsx"],
},
+ "scroll-based-velocity": {
+ name: "scroll-based-velocity",
+ type: "components:ui",
+ files: ["registry/components/magicui/scroll-based-velocity.tsx"],
+ },
};
const example: Registry = {