Meng To

Woven Cloth

Heroes 342

About

An animated iframe background that simulates a woven fabric swatch with a verlet-physics cloth simulation rendered in Three.js, wrapped for a hero or landing-page backdrop.

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

Code

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

Usage.tsx

import WovenCloth from "@/components/ui/woven-cloth";

export default function WovenClothDemo() {
  return (
    <div className="relative h-[600px] w-full overflow-hidden rounded-xl bg-[#16090b]">
      <WovenCloth className="absolute inset-0 h-full w-full" />
    </div>
  );
}

More by Meng To

View all
  • Gateway Flow

    Gateway Flow

    1.8K
  • Glassmorphism CTA

    Glassmorphism CTA

    820
  • Globe Type Study

    Globe Type Study

    767
  • Particle Drift

    Particle Drift

    706
  • Generative Tree

    Generative Tree

    610
  • Topo Field

    Topo Field

    576
  • Dot Border Button

    Dot Border Button

    509
  • Spark Badge

    Spark Badge

    477

More in Heroes

View all
  • SaaS Template

    SaaS Template

    2.5K
  • Hero

    Hero

    1.3K
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    968
  • Editorial Collage Hero

    Editorial Collage Hero

    458
  • Minimalist Hero Fashion

    Minimalist Hero Fashion

    296
  • Glass Fold

    Glass Fold

    278
  • Aero Hero-3

    Aero Hero-3

    576

Explore more

Part of ThreeUI — browse the full library on 21st.dev.