Kedhareswer Naidu

Ripped Denim Cloth Background

Shaders 42

About

Ripped denim cloth background: a hanging length of indigo denim simulated as real cloth, falling in soft vertical folds. Drag across it to tear it: the warp snaps, the cut opens under its own weight, and the edge frays into white weft. Click to puncture, hover to press. Indigo, rinse, light-wash and black presets. React only, WebGL, no assets.

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

Code

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

Usage.tsx

"use client"

import DistressedDenim from "@/components/ui/distressed-denim"

export default function Demo() {
  // w-full matters: 21st centres demos in a flex wrapper, and a flex item
  // left at width:auto shrinks the canvas to 0px wide.
  return (
    <div className="w-full">
      <DistressedDenim rips={7} />
    </div>
  )
}

More by Kedhareswer Naidu

View all
  • Glassmorphism Folder Cards

    Glassmorphism Folder Cards

    2.5K
  • GitHub Contribution Graph 3D Heatmap

    GitHub Contribution Graph 3D Heatmap

    1.8K
  • Morph Gallery

    Morph Gallery

    1.4K
  • Halftone Wordmark Footer

    Halftone Wordmark Footer

    1.1K
  • Glass Cards

    Glass Cards

    714
  • Hanging Polaroid Image Carousel

    Hanging Polaroid Image Carousel

    698
  • Particle Animation

    Particle Animation

    641
  • Tiger Tear Reveal

    Tiger Tear Reveal

    630

More in Shaders

View all
  • Glass Fold

    Glass Fold

    200
  • Wave

    Wave

    683
  • Neural Noise

    Neural Noise

    714
  • Paper design shader Background

    Paper design shader Background

    672
  • DitheredShaderBackground

    DitheredShaderBackground

    43
  • LightSpeed

    LightSpeed

    206
  • Dotted Veil

    Dotted Veil

    57
  • Stripe like gradient-shader

    Stripe like gradient-shader

    265