threedezy docs
Options

Customize the configurator

Everything here is set on the <configkit-viewer> line you pasted: a style for its size and colors, and attributes for what it shows. Your products' options, prices and rules live in your console, not in this code.

Size, colors and fonts

Add a style to the element with any of these:

<configkit-viewer license="ck_live_…" product="assets/arden-table.json"
  style="--ck-height: 680px; --ck-accent-color: #8a6224;
         --ck-font: inherit; --ck-radius: 0"></configkit-viewer>
SettingWhat it changesDefault
--ck-heightHeight of the configurator on wider screens620px
--ck-stage-heightHeight of the 3D view on phones, where the options sit underneath420px
--ck-panel-widthWidth of the options panel beside the 3D view360px
--ck-accent-colorSelected options and the main buttonnear-black
--ck-fontTypeface (inherit uses your site's)system font
--ck-surface, --ck-stagePanel background, and the backdrop behind the productwhite, warm gray
--ck-border, --ck-radiusBorder color and corner roundinglight gray, 14px

Layout

AttributeValues
layoutauto (default): options beside the 3D view, underneath on narrow screens · below: always underneath · viewer: the 3D view alone, no options panel
lightingstudio, daylight or evening
unitsin, cm or mm for dimensions (default: the product's)
sync-urlKeeps the current build in the page address, so copying the address shares the exact design

Loading and speed

By default the configurator shows a still picture of the product right away and loads the 3D just before it scrolls into view, so it doesn't slow your page down.

AttributeValues
loadinglazy (default) · click: show the picture with a "View in 3D" button and load on tap (start-label changes its text) · eager: load straight away
posterA picture to show while it loads, if you'd rather use your own photo
loadercompact (default): a slim progress bar at the bottom of the picture · full: an animated mark and progress ring in the middle

Turning features on and off

Everything is on unless you turn it off with ="off", for example fit="off".

AttributeWhat it shows
arView in your room (AR on phones, a QR code on computers)
dimensionsMeasurements drawn around the product
fit"Will it fit?": shoppers enter their space and narrowest doorway
spec-sheetA printable page of the build with views, dimensions, SKUs and price. Add brand, logo (an image address) and contact to print them on it.
saveSave design: shoppers email themselves a link back to their build
swatchesFree swatches, on products set up for them
quoteThe Request quote button (quote-label changes its text)
pricePrices. Off is "price on request": shoppers configure without prices, and your quote requests still include the full build and its list price.
photoreal, autorotateThe photoreal render mode, and the slow turn before anyone touches it

To make the main button add to your Shopify cart instead of requesting a quote, see Shopify.

For developers

The element sends events that bubble up the page:

EventWhen
configkit-readyThe product has loaded
configkit-changeA choice changed. event.detail has the selections, price and a summary.
configkit-quoteA shopper sent a quote request: the full build, a link that reopens it, the price lines and a picture. Call event.preventDefault() to handle it yourself.
configkit-errorSomething went wrong loading it
document.querySelector('configkit-viewer').addEventListener('configkit-change', (e) => {
  console.log(e.detail.price);
});

To send leads to your own system instead of your threedezy dashboard, quote-url, save-url and swatch-url post each one as JSON to an address you give (Zapier, Formspree, your API). Most stores don't need this: your console can email leads to you and send them to a webhook while keeping them in your dashboard (see Leads).

The element's configurator property is the full API, for custom option pickers or connecting it to the rest of your page. Ask us for the reference.