Kedhareswer Naidu

Cloth Peel Reveal

Shaders 32

About

Cloth peel page reveal transition in WebGL: a sheet of cloth covering your page is dragged away and crumples as it goes, folds travelling along a real 120x80 vertex mesh with each crease lit and a torn trailing edge. Use as a page gate or looping showcase. React only.

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

Code

How Cloth Peel Reveal is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client"

import ClothPeelReveal from "@/components/ui/cloth-peel-reveal"

export default function Demo() {
  return (
    <ClothPeelReveal loop sheetText={"Make\nSomething"} sheetColor="#f4f2ee" textColor="#111111">
      <div className="flex h-full w-full flex-col justify-between bg-[#0b0b0c] px-[5vw] py-[5vh] text-white">
        <div className="font-mono text-[11px] uppercase tracking-[0.25em] text-neutral-500">
          Works 01 / 30
        </div>
        <div>
          <h2 className="text-[clamp(2.5rem,8vw,7rem)] font-black uppercase leading-[0.88] tracking-tight">
            Signal
            <br />
            Garden
          </h2>
          <p className="mt-6 max-w-sm font-mono text-xs uppercase leading-relaxed tracking-[0.15em] text-neutral-400">
            Interactive installation — the sheet is a mesh, the folds are lit per vertex
          </p>
        </div>
        <div className="font-mono text-[11px] uppercase tracking-[0.25em] text-neutral-600">
          Scroll
        </div>
      </div>
    </ClothPeelReveal>
  )
}

More by Kedhareswer Naidu

View all
  • Glassmorphism Folder Cards

    Glassmorphism Folder Cards

    3.3K
  • GitHub Contribution Graph 3D Heatmap

    GitHub Contribution Graph 3D Heatmap

    1.9K
  • Halftone Wordmark Footer

    Halftone Wordmark Footer

    1.5K
  • Morph Gallery

    Morph Gallery

    1.5K
  • Hanging Polaroid Image Carousel

    Hanging Polaroid Image Carousel

    940
  • Glass Cards

    Glass Cards

    747
  • Animated Features Bento with Live Diagrams

    Animated Features Bento with Live Diagrams

    689
  • Tiger Tear Reveal

    Tiger Tear Reveal

    680

More in Shaders

View all
  • Glass Fold

    Glass Fold

    279
  • Phosphor 30

    Phosphor 30

    293
  • Shader Animation

    Shader Animation

    3.7K
  • Wave

    Wave

    693
  • Black Hole

    Black Hole

    27
  • Shader Background

    Shader Background

    2K
  • Shader Lines

    Shader Lines

    2.3K
  • Liquid Glass Logo Reveal

    Liquid Glass Logo Reveal

    629