About
Perfect for portfolios that need a neat gallery on scroll
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Hero-Morph to your project and fits it to your theme.
Code
How Hero-Morph is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Component } from "@/components/ui/hero-morph";
const settings = {
cols: 3,
noiseScaleX: 7,
noiseScaleY: 5,
noiseSpeed: 0.6,
timeSpeed: 0.24,
trailDecay: 0.95,
meEase: 0.08,
mfBlack: 0.4,
distA: 0.64,
distB: 2.5,
morphDistance: 400,
scrollEase: 0.12,
morphEase: 0.055,
paperOpacity: 0.2,
showLines: true,
};
export default function Demo(props: Partial<typeof settings>) {
return (
<Component
{...settings}
{...props}
titleLines={["GUILD ENTRANCE", "↓THIS WAY↓"]}
menuLabel="GUILDED MEMBERS ONLY"
scrollHint="scroll"
/>
);
}
















