1 min read

Signature section

La Coupe — 3D bonbon

An interactive WebGL cross-section of a bonbon — drag to rotate, slide to cut. It is engineered to be beautiful and fast: the 3D engine only loads when the section is about to enter view, and a photograph stands in wherever WebGL isn’t available.

Shell — 72% grand cruGanache — framboiseCaramel heart
A cross-section of the bonbon — shell, ganache and a caramel heart. Drag to rotate, slide to cut.

Performance-first loading#

The heavy 3D engine (Three.js) is not loaded with the page. A tiny loader script watches the section and only fetches the engine when the visitor scrolls near it. On a homepage where La Coupe sits below the fold, this means it never touches your first paint — so it doesn’t weigh on Core Web Vitals.

You don't need to do anything

This lazy-loading is automatic. Placing La Coupe anywhere on the page is safe; the engine loads on demand, respects reduced-motion, and caps its resolution on high-density screens.

The photographic fallback#

When the 3D toggle is off, or a device can’t run WebGL, the section shows a still image instead — so it always looks intentional. Provide your own fallback image, or the theme uses a bundled macro photograph.

SettingTypeDefaultDescription
enable_3dcheckboxOnTurn the WebGL cross-section on. When off (or without WebGL), the photograph shows.
fallback_imageimageStill shown when 3D is off/unavailable. Defaults to a bundled macro.
kickertextSmall eyebrow above the heading.
headingtextSection heading.
texttextareaSupporting copy.
productproductPowers the price and the add-to-cart button.
price_fallbacktextShown when no product is connected.
button_label / button_linktext / urlOptional CTA when no product (or sold out).
button_styleselectFramboiseFramboise / Gold / Ghost.
color_shell / color_ganache / color_caramelcolorThe three bonbon layers rendered in the 3D scene.
show_wavecheckboxOnA gilded ganache-wave divider under the section.

Layer legend#

Add Legend rowblocks (up to four) to label the layers beside the scene — each with a swatch colour, a layer name and a short description (e.g. “The ganache — framboise & crème d’Isigny”).

Colours are shared with the model

The shell, ganache and caramel colours you set are passed straight into the 3D material — so the render matches your legend and brand palette exactly.
Last updated July 2026