Catalog to draw garments from.
OptionalcategoriesCategories to restrict to.
OptionalcontextExperience context forwarded to the recommendation capability.
An already-created experience to attach to, instead of creating one.
OptionalinitialState to restore on mount.
OptionallayoutLayout variant to mount.
default is vertical and mobile-first; horizontal is a two-panel desktop layout.
OptionalmaxHow many garments may be selected at once.
OptionalonCalled when the user adds a product to the cart.
OptionalonCalled when the user saves a product.
OptionalonCalled when the user dismisses the widget.
OptionalonCalled when generation finishes.
OptionalonCalled when generation fails.
OptionalonCalled with progress updates during generation.
OptionalonCalled whenever widget state changes.
OptionalpersistWhether try-on progress survives a page reload, and where it is stored.
Whether persistence is on.
Optionalkey?: stringStorage key used for persisted state.
Optionalstorage?: "localStorage" | "sessionStorage"Where persisted state is written.
OptionalpurchasePurchase destination/unit used by read-only product refreshes.
OptionalrecommendationsWhether and how to fetch products alongside the try-on result.
OptionalbudgetMax?: numberUpper price bound for recommendations.
OptionalmaxResults?: numberMaximum results to return.
OptionalstylingEscape hatches for hosts with a strict CSP or an external stylesheet.
OptionalexternalStylesheet?: booleanURL of a stylesheet to load instead of the inline styles.
Optionalnonce?: stringCSP nonce applied to injected styles.
OptionalthemeColour and typography overrides for the widget.
OptionalborderRadius?: stringCorner radius applied to cards and buttons.
OptionalfontFamily?: stringFont stack.
OptionalprimaryColor?: stringAccent colour.
Options for mounting the virtual try-on widget.