What makes Drape work
- Category
- Media
- Added
- Nov 12, 2026
- Good for
- The hero of any business site: hotels, restaurants, studios, makers, builders
- Built with
- HTML, CSS and JavaScript, no libraries.
- 01Everything is adjustable: inset or full bleed layout, light or dark, silk, linen or canvas fabric, text and button colours, heading size, shade, roundness, height, light on the folds, shadow, gap to the wall, photo time, breeze, gust strength and speed, brush strength, and every word.
- 02It is a real cloth simulation: about 1,100 points held by stretch, shear and bend springs, pinned along the top edge and moved by a soft breeze.
- 03At rest it is the sharp photo in its true colours. Only the folds catch the light, and a soft shadow on the wall behind follows the cloth's real shape.
- 04Brush across it and the fabric gives under the pointer. Press and drag to take hold of it: it lifts toward you, pulls against its top edge and swings back when you let go.
- 05Click, wait or use the arrows and a gust rolls across the sheet, and the next photo arrives just behind the crest of the moving fold.
- 06Your headline, line and button are real, accessible text that rides the cloth with its shade. The photo number, title, arrows and Pause sit below, and the arrow keys, Enter, Space, Home and End work too.
- 07The physics runs at a fixed step, so it behaves the same at any frame rate, and it stops drawing when still or off screen. Without WebGL it shows the same photos with a soft sway and crossfades, and reduced motion keeps it still with plain fades.
Try it with your photos
Add your own work and the element above uses it straight away. Your photos also go into the code you copy below. They stay in this browser and are never uploaded to a server.
The demo photos are showing. Add yours and they'll appear here, where you can caption and reorder them.
Use this element
Copy it into your website builder. It keeps the exact design and behavior, and your site's styles can't change it.
A short snippet that loads the element from finerui.com, signed with your embed key. Fixes and updates made here show up everywhere it's used.
Paste it into an HTML or embed block:
- Wix: Add, then Embed code, then Embed HTML
- Squarespace: a Code block
- Webflow: an Embed element
- WordPress: a Custom HTML block
- GoHighLevel: a Custom JS/HTML element
It sizes its own height and has a clear background, so it sits on your page like it belongs there.
The code is for premium members
Premium members copy Drape and every other element as an embed, a full file or a Lovable prompt. From $12.42 a month.