Fitting Widget Docs

Introduction

What is the Fitting Widget and why use it?

Fitting Widget — Virtual Try-On

The Fitting Widget is a drop-in virtual try-on solution for e-commerce fashion stores. It lets your customers upload a photo and instantly see how any garment looks on them — directly on your product pages.

Key Features

  • Quick Integration — Add one script tag and a few lines of code.
  • Framework-Agnostic — Works with Vanilla JS, React, Vue, Next.js, Nuxt, and more.
  • Customizable — Style the widget to match your brand.
  • Lightweight — Optimized loading; won't slow down your store.

How It Works

  1. Load the widget script on your page.
  2. Initialize with your API key.
  3. Call window.fitting('create', { ... }) with product image URLs.
  4. The widget renders inside a container element of your choice.

Quick Start

Head over to the Quick Start guide to get up and running in under 5 minutes.