About
A pleated curtain in a breeze that you can push and pull, built with React, WebGL and a cloth simulation.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Kokonut UI Drape Background to your project and fits it to your theme.
Code
How Kokonut UI Drape Background is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import {ThemeProvider as LibraryDemoThemeProvider} from "next-themes";
import DrapeBackground from "@/components/ui/kokonut-drape-background";
function SourceSpecimen(){return <>
<DrapeBackground />
</>}
export default function LibraryRegistryPreview(){return <LibraryDemoThemeProvider defaultTheme="dark" enableSystem={false}><div data-component-demo data-demo-theme="dark" data-theme="dark" className="dark" style={{background:"var(--background)",color:"var(--foreground)"}}><div className="relative w-full min-w-0 max-w-5xl min-h-[400px] flex items-center justify-center"><SourceSpecimen/></div></div></LibraryDemoThemeProvider>}








