Patrick Dunn

Gallery Morph

Heroes

About

Choose between 4 different gallery styles and options. Perfect for portfolios

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Gallery Morph to your project and fits it to your theme.

Code

How Gallery Morph is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Component } from "@/components/ui/gallery-morph";

const settings = {
  cardSize: 1,
  radius: 1,
  rotation: 0,
  pushRadius: false,
  pushStrength: false,
};

export default function Demo(props: Partial<typeof settings>) {
  return (
    <Component
      {...settings}
      {...props}
      formation="flat"
      infoText="Formation · Scroll or drag · Click card to expand"
    />
  );
}

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