Kedhareswer Naidu

Cloth Works Gallery

Galleries 73

About

A portfolio works section where a row of project posters hangs as cloth. Drag or scroll and every poster bends and flaps like a flag with its free edges trailing; the cursor ripples a poster as it passes and it settles flat again. The big title follows the poster in the middle, and an Index pill switches to a grid of the same work. Built on three.js with a small spring-cloth simulation per poster. Pass your own projects as props.

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

Code

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

Usage.tsx

"use client"

import ClothWorksGallery from "@/components/ui/cloth-works-gallery"

export default function Demo() {
  return (
    // width: 100% is load-bearing. 21st centres every demo in a flex wrapper,
    // and a flex item left at width: auto shrinks a full-bleed section to a strip.
    <main style={{ width: "100%" }}>
      {/* autoPlay is for this unattended preview: the row drifts on its own until you drag it. */}
      <ClothWorksGallery autoPlay />
    </main>
  )
}

Dependencies

More by Kedhareswer Naidu

View all
  • Glassmorphism Folder Cards

    Glassmorphism Folder Cards

    6.2K
  • Halftone Wordmark Footer

    Halftone Wordmark Footer

    2.4K
  • Food Menu Scroll Carousel

    Food Menu Scroll Carousel

    2.3K
  • GitHub Contribution Graph 3D Heatmap

    GitHub Contribution Graph 3D Heatmap

    2.2K
  • Morph Gallery

    Morph Gallery

    2.1K
  • Animated Features Bento with Live Diagrams

    Animated Features Bento with Live Diagrams

    1.6K
  • Hanging Polaroid Image Carousel

    Hanging Polaroid Image Carousel

    1.3K
  • Sneaker Product Page Hero

    Sneaker Product Page Hero

    1.3K

More in Galleries

View all
  • Gallery Component

    Gallery Component

    46
  • Photo Deck

    Photo Deck

    79
  • Scattered About

    Scattered About

    74
  • Product Hover Showcase

    Product Hover Showcase

    114
  • About 3

    About 3

    459
  • Thumbnail image viewer

    Thumbnail image viewer

    115
  • Editorial Collage Hero

    Editorial Collage Hero

    528
  • Elastic Gallery

    Elastic Gallery

    1.2K