Patrick Dunn

Hero-Morph

Heroes 2

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"
    />
  );
}

Dependencies

More by Patrick Dunn

View all
  • Wilderness

    Wilderness

    1K
  • sneak

    sneak

    485
  • Robot Flyby

    Robot Flyby

    255
  • Desert Drift

    Desert Drift

    178
  • Tidal Cursor

    Tidal Cursor

    150
  • Bloodline

    Bloodline

    120
  • Ribbed

    Ribbed

    11
  • Cool ribs

    Cool ribs

    9

More in Heroes

View all
  • Agency Hero Section

    Agency Hero Section

    1.1K
  • SaaS Template

    SaaS Template

    2.7K
  • AI SaaS Workflow Hero

    AI SaaS Workflow Hero

    29
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • Hero

    Hero

    1.4K
  • Real Estate 3D Hero

    Real Estate 3D Hero

    73
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Editorial Collage Hero

    Editorial Collage Hero

    524