Stretch TestShopify fabric stretch demo section
New
Paid once, yours to keep.
A swatch of your fabric the shopper grabs and pulls: it stretches, wrinkles and snaps back, with a live stretch readout and Add to cart.
What this Shopify section does
Stretch Test puts a square of your product's knit on the page, pinned at its four corners, and lets the shopper feel it with the cursor. Pressing and dragging takes a handful of fabric and pulls it: the stitches lengthen, wrinkles run across the pull, the cloth ahead of the hand bunches, and letting go snaps it back with a ripple. A live readout shows the stretch against the fabric's rated figure and, once it settles, how far it went and how long it took to recover. The knit is drawn in code (jersey or rib, three stitch sizes) and lit in three.js, so there is no texture to supply. Colour swatches dye the swatch with a spreading wave and swap the product photo; sizes and colours pick the product's real variant, sold-out sizes are struck through, and Add to cart uses the store's own cart. Beside it sit your heading and feature lines. On phones the swatch sits under the heading and a finger pulls it; arrow keys tug it from the keyboard; reduced motion drops the ripples; without WebGL the stage is a flat field in the chosen colour.
- Grab and pull a lit knit swatch: it stretches, wrinkles and snaps back
- Live stretch readout with the rated figure and recovery time
- Jersey or rib knit drawn in code, three stitch sizes
- Colour swatches dye the fabric and swap the product photo
- Colour and size pick the real variant; sold-out sizes struck through
- Adds to the store's own cart and refreshes the cart count
- Touch, keyboard and reduced-motion support; colour-field 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