Kedhareswer Naidu

Ripped Denim Cloth Background

Shaders 54

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

    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

    687
  • Tiger Tear Reveal

    Tiger Tear Reveal

    679

More in Shaders

View all
  • Glass Fold

    Glass Fold

    278
  • 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

    628