About
WebGL image gallery where each switch sweeps a satin fold across the photo: the old image lifts away, the new one settles in with a warm sheen, and the pointer presses a soft dent. Numbered tab index, keyboard arrows, reduced-motion and no-WebGL fallbacks. For luxury product, perfume or portfolio galleries.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Silk Morph Gallery to your project and fits it to your theme.
Code
How Silk Morph Gallery is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { SilkMorphGallery } from "@/components/ui/silk-morph-gallery";
const settings = {
duration: 1500,
sheen: 0.16,
pointerDent: true,
};
export default function Demo(props: Partial<typeof settings>) {
const s = { ...settings, ...props };
return (
<div className="flex min-h-screen w-full items-center justify-center bg-background px-6 py-16">
<SilkMorphGallery duration={s.duration} sheen={s.sheen} pointerDent={s.pointerDent} />
</div>
);
}
