With a Klorr plan: Klorr’s sections at no costlower prices on every other sectiongenerate and sell your ownSee plans
← Marketplace
Product

Fabric Drape 3DShopify fabric swatches section

flowst8

New

Without a plan€7
With a Klorr plan€5-29%

You pay €7 today. A plan saves you on every section.

Paid once, yours to keep.

A length of each fabric hangs from a rail as a real cloth: brush past it, pull the hem, and switch weaves that hang the way they should.

What this Shopify section does

Fabric Drape puts a length of your fabric on a slim rail as a real cloth simulation in three.js, tiled with your own swatch photo so the weave reads at life size, lit softly and casting a moving shadow on the wall behind. The shopper's cursor works like a hand: brushing past pushes a wave through the cloth, pressing and dragging takes hold of the nearest point and pulls it out, and letting go swings it back. Each swatch switches the weave with a quick crossfade and also changes how the cloth behaves: light fabrics like silk float and take their time to settle, heavy tweeds swing once and stop, stiff cords fold in broad panels. Beside it sit the fabric's name, composition, width, weight and drape, the price per metre, a length stepper in half metres that adds the right quantity to the cart with the length saved on the order line, and an Order a swatch link. On phones the cloth sits on top and a finger pulls it. Reduced motion keeps the cloth still, and without WebGL the swatch photo shows flat.

  • Real cloth simulation hung from a rail, with a soft wall shadow
  • Brush past to push it, press and drag to pull the hem
  • Your swatch photo tiled at life size, lit with weave relief
  • Each fabric hangs its own way: light, medium, heavy or stiff
  • Length stepper in half metres with a live total
  • Adds the right quantity to the cart with the length on the order
  • Touch drag on phones, still cloth for reduced motion, photo fallback
  • Clean Liquid with a complete {% schema %}
  • Editable in the Shopify theme editor, like any other section
  • Works on any Online Store 2.0 theme
  • Pasted into your own theme, with no app on your storefront

How to add Fabric Drape 3D to your Shopify theme

  1. Get Fabric Drape 3D here and download its .liquid file from your Klorr account.
  2. In Shopify, go to Online Store › Themes, open the ⋯ menu on your theme and choose Duplicate, so you try it on a copy first.
  3. On the copy, open ⋯ › Edit code, then under Sections choose Add a new section and give it a name.
  4. Replace everything in the new file with the code you downloaded, and press Save.
  5. Open Customize, choose Add section on any page and pick it from the list. Change its words, pictures and colours in the panel, then publish the theme when you are happy.

New to theme code? Read the full guide: how to add a custom section to Shopify.

Questions about this fabric swatches section

Does Fabric Drape 3D work with my Shopify theme?

Yes, if your theme is an Online Store 2.0 theme, which includes Dawn, Horizon and almost every theme sold today. Fabric Drape 3D is a standard fabric swatches section: it is added under Sections in your theme code and then appears in the theme editor like the sections your theme came with.

Do I need an app to use this fabric swatches section?

No. It is a section file that lives in your own theme, so there is no app to install, nothing extra loading on your storefront and no monthly fee for it.

Can I change the text, images and colours?

Yes. Its words, pictures, colours and options are settings in the Shopify theme editor, so you change them in Customize without touching the code, and you can add it to as many pages as you like.

Will it slow down my store?

Its 3D library loads only when the section comes near the screen, its styles and scripts are scoped to the section, and it shows a plain fallback where 3D is not available, so the rest of the page loads as it did.

What do I get with Fabric Drape 3D?

One .liquid file with its full schema, made by flowst8. You pay once and it is yours to keep: it stays in your theme and in your Klorr account, ready to download again.

Build your own sections with Klorr

Describe the section you want and get production-ready Liquid that respects your theme and stays editable in Shopify. No $400 theme required.