A widget is the visualization experience embedded on your product pages. Each store can have multiple widgets with different configurations.
Widget types
Type
Best For
Description
Room Visualizer
Furniture, decor, wall art, rugs, lighting
Renders products into a room photo
Virtual Try-On
Clothing, accessories, eyewear
Renders products onto a person photo
Creating a widget
Open your store in the Selektable dashboard
Click Add Widget
Choose a widget type and configure the options below
Copy the widget ID from the embed instructions
Configuration options
Appearance
Option
Description
Default
Accent Color
Primary color for buttons and interactive elements
Inherited from store
Accent Foreground Color
Text color on accent-colored elements
Auto-detected
Secondary Color
Secondary UI color
System default
Heading Font
Font for headings (system, Google, or custom)
Inherited from parent page
Body Font
Font for body text
Inherited from parent page
The widget automatically detects fonts from your page. You only need to set fonts explicitly if you want the widget to use different fonts than your site.
Generation
Option
Description
Default
Custom Style Guidance
Additional instructions to fine-tune AI image generation (max 500 chars). See Custom style guidance below.
None
Retention Hours
How long generated images are stored (1-720 hours)
24
Features
Option
Description
Default
Multi-Product
Allow 2-5 products per visualization
Disabled
Show Products in Result
Display product cards in the result view
Enabled
Cart Integration
Enable add-to-cart from the result view
Disabled
Integrations
Option
Description
WhatsApp
Allow customers to share results via WhatsApp
Multi-Product mode
When enabled, customers can select multiple products to visualize together. This is useful for showing how items complement each other. For example, a sofa with a matching coffee table and rug.Configure the maximum number of products (2-5) in the widget settings.
Font detection
The embed script automatically detects your site’s heading and body fonts by inspecting the computed styles of <h1> and <body> elements. These are sent to the widget iframe so the UI matches your site’s typography.To override this, set explicit fonts in the widget configuration.
Custom style guidance
Custom style guidance lets you fine-tune how the AI generates visualizations for your widget. This is a free-text field (up to 500 characters) that gives the AI additional context about your products, brand aesthetic, or specific rendering instructions.You can set this in the dashboard under your widget’s Generation settings.
When to use it
Style guidance is most useful when:
Your products have a specific aesthetic that the AI should maintain (e.g., bridal, luxury, minimalist)
You need the AI to handle product images in a particular way (e.g., keep the person in the photo, preserve specific lighting)
Your product category benefits from extra context (e.g., “these are outdoor furniture items” or “these are children’s clothing”)
Writing effective guidance
Be specific and descriptive. Tell the AI what to preserve, what style to aim for, and any constraints.
Think of the guidance as a brief creative direction. You’re telling the AI how you’d describe the ideal output to a designer.
Example: bridal store (Virtual Try-On)
The uploaded image contains a real person — always keep this person exactlyas they appear (face, body, pose, skin tone). Make them appear in a naturalposition, arms down and elegant. Never replace them with a mannequin or model.Show the bridal garment on this specific person. Maintain elegant, soft bridallighting with a clean, romantic aesthetic and use the location of the product(input) image but replace the product model.
Example: modern furniture store (Room Visualizer)
Modern minimalist furniture store. Use clean, well-lit interiors with neutraltones. Prefer Scandinavian-style room settings with natural light.
Example: outdoor garden decor
Outdoor garden and patio products. Place items in realistic outdoor settingswith natural lighting. Prefer lush green gardens or well-maintained patios.
Example: children’s room decor
Bright, playful children's room settings. Use soft, warm lighting andcolorful but tasteful interiors. Keep the atmosphere fun and inviting.
Tips for best results
Be specific about what to preserve: especially for Virtual Try-On, tell the AI to keep the person’s appearance exactly as-is
Describe the lighting and mood: “soft bridal lighting” or “bright natural daylight” helps the AI match your brand
Mention what to avoid: “never replace the person with a mannequin” prevents common issues
Keep it concise: the field has a 500-character limit, so focus on the most impactful instructions
Test and iterate: try different guidance text and compare the generation results to find what works best for your products
Custom style guidance affects all generations for that widget. If you sell different product categories that need different guidance, consider creating separate widgets for each category.
Preloading
For faster widget opening, you can preload the iframe before the user clicks:
// Preload on page load (creates hidden iframe)Selektable.preload('widget_abc123');// Later, when user clicks, it opens instantlySelektable.open('widget_abc123', { ... });
This is especially useful on product pages where you expect high engagement with the widget.
Was this page helpful?
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Selektable","colors":{"primary":"#171717","light":"#171717","dark":"#171717"},"favicon":"https://mintcdn.com/selektable/SzLqF1xIMBTWfyNH/favicon.svg?fit=max\u0026auto=format\u0026n=SzLqF1xIMBTWfyNH\u0026q=85\u0026s=954eabb1ee8f304fd8b09026733d8a66","logo":{"light":"https://mintcdn.com/selektable/H19Qh8YH7ScfFm23/logo/light.svg?fit=max\u0026auto=format\u0026n=H19Qh8YH7ScfFm23\u0026q=85\u0026s=1e4c13e0f81c49b922abdbfc2c3928a6","dark":"https://mintcdn.com/selektable/H19Qh8YH7ScfFm23/logo/dark.svg?fit=max\u0026auto=format\u0026n=H19Qh8YH7ScfFm23\u0026q=85\u0026s=2d51ab4ea2283bea3013e502a98ba244"},"api":{"openapi":"https://api.selektable.com/v1/openapi.json"},"navbar":{"links":[{"label":"llms.txt","href":"https://docs.selektable.com/llms.txt"},{"label":"Dashboard","href":"https://app.selektable.com"}],"primary":{"type":"button","label":"Get Started","href":"https://app.selektable.com"}},"footer":{"socials":{"website":"https://selektable.com","github":"https://github.com/addtoview-org"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"selektable","hasAudioNarration":false,"actualSubdomain":"selektable","customDomains":["docs.selektable.com"],"gitSource":{"type":"github","owner":"selektable","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":false},"entitlements":{},"buildId":"6ae9244babb6d0c12b81bb81:success","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API Reference","count":20},{"language":"default","tag":"Documentation","count":14},{"language":"default","tag":"SDK Reference","count":10},{"language":"default","tag":"Guides","count":8},{"language":"default","tag":"Client SDK","count":6},{"language":"default","tag":"Webhook Endpoints","count":5},{"language":"default","tag":"Examples","count":4},{"language":"default","tag":"Generations","count":3},{"language":"default","tag":"Getting Started","count":3},{"language":"default","tag":"Platform Integrations","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"guides/widgets","slug":"/guides/widgets","pageMetadata":{"title":"Widgets","description":"Configuring and managing Selektable widgets","href":"/guides/widgets"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Configuring and managing Selektable widgets\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`widgets`,children:`Widgets`}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.strong,{children:`widget`}),` is the visualization experience embedded on your product pages. Each store can have multiple widgets with different configurations.`]}),`\n`,_jsx(Heading,{level:`2`,id:`widget-types`,children:`Widget types`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Best For`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Room Visualizer`})}),_jsx(_components.td,{children:`Furniture, decor, wall art, rugs, lighting`}),_jsx(_components.td,{children:`Renders products into a room photo`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Virtual Try-On`})}),_jsx(_components.td,{children:`Clothing, accessories, eyewear`}),_jsx(_components.td,{children:`Renders products onto a person photo`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`creating-a-widget`,children:`Creating a widget`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Open your store in the Selektable dashboard`}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Add Widget`})]}),`\n`,_jsx(_components.li,{children:`Choose a widget type and configure the options below`}),`\n`,_jsx(_components.li,{children:`Copy the widget ID from the embed instructions`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`configuration-options`,children:`Configuration options`}),`\n`,_jsx(Heading,{level:`3`,id:`appearance`,children:`Appearance`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Option`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Accent Color`})}),_jsx(_components.td,{children:`Primary color for buttons and interactive elements`}),_jsx(_components.td,{children:`Inherited from store`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Accent Foreground Color`})}),_jsx(_components.td,{children:`Text color on accent-colored elements`}),_jsx(_components.td,{children:`Auto-detected`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Secondary Color`})}),_jsx(_components.td,{children:`Secondary UI color`}),_jsx(_components.td,{children:`System default`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Heading Font`})}),_jsx(_components.td,{children:`Font for headings (system, Google, or custom)`}),_jsx(_components.td,{children:`Inherited from parent page`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Body Font`})}),_jsx(_components.td,{children:`Font for body text`}),_jsx(_components.td,{children:`Inherited from parent page`})]})]})]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`The widget automatically detects fonts from your page. You only need to set fonts explicitly if you want the widget to use different fonts than your site.`})}),`\n`,_jsx(Heading,{level:`3`,id:`generation`,children:`Generation`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Option`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Custom Style Guidance`})}),_jsxs(_components.td,{children:[`Additional instructions to fine-tune AI image generation (max 500 chars). See `,_jsx(_components.a,{href:`#custom-style-guidance`,children:`Custom style guidance`}),` below.`]}),_jsx(_components.td,{children:`None`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Retention Hours`})}),_jsx(_components.td,{children:`How long generated images are stored (1-720 hours)`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`24`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`features`,children:`Features`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Option`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Multi-Product`})}),_jsx(_components.td,{children:`Allow 2-5 products per visualization`}),_jsx(_components.td,{children:`Disabled`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Show Products in Result`})}),_jsx(_components.td,{children:`Display product cards in the result view`}),_jsx(_components.td,{children:`Enabled`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Cart Integration`})}),_jsx(_components.td,{children:`Enable add-to-cart from the result view`}),_jsx(_components.td,{children:`Disabled`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`integrations`,children:`Integrations`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Option`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`WhatsApp`})}),_jsx(_components.td,{children:`Allow customers to share results via WhatsApp`})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`multi-product-mode`,children:`Multi-Product mode`}),`\n`,_jsx(_components.p,{children:`When enabled, customers can select multiple products to visualize together. This is useful for showing how items complement each other. For example, a sofa with a matching coffee table and rug.`}),`\n`,_jsx(_components.p,{children:`Configure the maximum number of products (2-5) in the widget settings.`}),`\n`,_jsx(Heading,{level:`2`,id:`font-detection`,children:`Font detection`}),`\n`,_jsxs(_components.p,{children:[`The embed script automatically detects your site’s heading and body fonts by inspecting the computed styles of `,_jsx(_components.code,{children:`\u003ch1>`}),` and `,_jsx(_components.code,{children:`\u003cbody>`}),` elements. These are sent to the widget iframe so the UI matches your site’s typography.`]}),`\n`,_jsx(_components.p,{children:`To override this, set explicit fonts in the widget configuration.`}),`\n`,_jsx(Heading,{level:`2`,id:`custom-style-guidance`,children:`Custom style guidance`}),`\n`,_jsx(_components.p,{children:`Custom style guidance lets you fine-tune how the AI generates visualizations for your widget. This is a free-text field (up to 500 characters) that gives the AI additional context about your products, brand aesthetic, or specific rendering instructions.`}),`\n`,_jsxs(_components.p,{children:[`You can set this in the dashboard under your widget’s `,_jsx(_components.strong,{children:`Generation`}),` settings.`]}),`\n`,_jsx(Heading,{level:`3`,id:`when-to-use-it`,children:`When to use it`}),`\n`,_jsx(_components.p,{children:`Style guidance is most useful when:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Your products have a specific aesthetic that the AI should maintain (e.g., bridal, luxury, minimalist)`}),`\n`,_jsx(_components.li,{children:`You need the AI to handle product images in a particular way (e.g., keep the person in the photo, preserve specific lighting)`}),`\n`,_jsx(_components.li,{children:`Your product category benefits from extra context (e.g., “these are outdoor furniture items” or “these are children’s clothing”)`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`writing-effective-guidance`,children:`Writing effective guidance`}),`\n`,_jsx(_components.p,{children:`Be specific and descriptive. Tell the AI what to preserve, what style to aim for, and any constraints.`}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Think of the guidance as a brief creative direction. You’re telling the AI how you’d describe the ideal output to a designer.`})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example: bridal store (Virtual Try-On)`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`The uploaded image contains a real person — always keep this person exactly`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`as they appear (face, body, pose, skin tone). Make them appear in a natural`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`position, arms down and elegant. Never replace them with a mannequin or model.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Show the bridal garment on this specific person. Maintain elegant, soft bridal`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`lighting with a clean, romantic aesthetic and use the location of the product`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(input) image but replace the product model.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example: modern furniture store (Room Visualizer)`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Modern minimalist furniture store. Use clean, well-lit interiors with neutral`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`tones. Prefer Scandinavian-style room settings with natural light.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example: outdoor garden decor`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Outdoor garden and patio products. Place items in realistic outdoor settings`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`with natural lighting. Prefer lush green gardens or well-maintained patios.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example: children’s room decor`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Bright, playful children's room settings. Use soft, warm lighting and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`colorful but tasteful interiors. Keep the atmosphere fun and inviting.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`tips-for-best-results`,children:`Tips for best results`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Be specific about what to preserve:`}),` especially for Virtual Try-On, tell the AI to keep the person’s appearance exactly as-is`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Describe the lighting and mood:`}),` “soft bridal lighting” or “bright natural daylight” helps the AI match your brand`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Mention what to avoid:`}),` “never replace the person with a mannequin” prevents common issues`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Keep it concise:`}),` the field has a 500-character limit, so focus on the most impactful instructions`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Test and iterate:`}),` try different guidance text and compare the generation results to find what works best for your products`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Custom style guidance affects all generations for that widget. If you sell different product categories that need different guidance, consider creating separate widgets for each category.`})}),`\n`,_jsx(Heading,{level:`2`,id:`preloading`,children:`Preloading`}),`\n`,_jsx(_components.p,{children:`For faster widget opening, you can preload the iframe before the user clicks:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Preload on page load (creates hidden iframe)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Selektable`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`preload`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'widget_abc123'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Later, when user clicks, it opens instantly`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Selektable`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`open`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'widget_abc123'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, { `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`...`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`This is especially useful on product pages where you expect high engagement with the widget.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Widgets","description":"Configuring and managing Selektable widgets","href":"/guides/widgets"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Widgets","slug":"widgets","depth":1,"children":[]},{"title":"Widget types","slug":"widget-types","depth":2,"children":[]},{"title":"Creating a widget","slug":"creating-a-widget","depth":2,"children":[]},{"title":"Configuration options","slug":"configuration-options","depth":2,"children":[{"title":"Appearance","slug":"appearance","depth":3,"children":[]},{"title":"Generation","slug":"generation","depth":3,"children":[]},{"title":"Features","slug":"features","depth":3,"children":[]},{"title":"Integrations","slug":"integrations","depth":3,"children":[]}]},{"title":"Multi-Product mode","slug":"multi-product-mode","depth":2,"children":[]},{"title":"Font detection","slug":"font-detection","depth":2,"children":[]},{"title":"Custom style guidance","slug":"custom-style-guidance","depth":2,"children":[{"title":"When to use it","slug":"when-to-use-it","depth":3,"children":[]},{"title":"Writing effective guidance","slug":"writing-effective-guidance","depth":3,"children":[]},{"title":"Tips for best results","slug":"tips-for-best-results","depth":3,"children":[]}]},{"title":"Preloading","slug":"preloading","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"selektable","siteName":"Selektable","title":"Widgets - Selektable","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-30T21:04:42.157Z","originalFileLocation":"guides/widgets.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Configuring and managing Selektable widgets\">\u003cmeta data-mint-head name=\"application-name\" content=\"Selektable\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/selektable/RChzRpEX_DYzM1v3/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/selektable/RChzRpEX_DYzM1v3/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/selektable/RChzRpEX_DYzM1v3/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/selektable/RChzRpEX_DYzM1v3/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/selektable/RChzRpEX_DYzM1v3/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/selektable/RChzRpEX_DYzM1v3/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/selektable/RChzRpEX_DYzM1v3/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/selektable/RChzRpEX_DYzM1v3/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/selektable/RChzRpEX_DYzM1v3/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Widgets - Selektable\">\u003cmeta data-mint-head property=\"og:description\" content=\"Configuring and managing Selektable widgets\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Selektable\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.selektable.com/guides/widgets\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://selektable.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Widgets\u0026amp;description=Configuring+and+managing+Selektable+widgets\u0026amp;theme=e07cce21d8b0eb82913adba5\u0026amp;signature=5ef6745914deb76659d84669c51f2918d8f9a04bdadb394125f45c8c4630bc32\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Widgets - Selektable\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Configuring and managing Selektable widgets\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://selektable.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Widgets\u0026amp;description=Configuring+and+managing+Selektable+widgets\u0026amp;theme=e07cce21d8b0eb82913adba5\u0026amp;signature=5ef6745914deb76659d84669c51f2918d8f9a04bdadb394125f45c8c4630bc32\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/selektable/RChzRpEX_DYzM1v3/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Selektable\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#171717\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.selektable.com/guides/widgets\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/widgets.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.selektable.com/#organization\",\"name\":\"Selektable\",\"url\":\"https://docs.selektable.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/selektable/H19Qh8YH7ScfFm23/logo/light.svg?fit=max\u0026auto=format\u0026n=H19Qh8YH7ScfFm23\u0026q=85\u0026s=1e4c13e0f81c49b922abdbfc2c3928a6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.selektable.com#website\",\"name\":\"Selektable\",\"url\":\"https://docs.selektable.com\",\"publisher\":{\"@id\":\"https://docs.selektable.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.selektable.com/guides/widgets#webpage\",\"url\":\"https://docs.selektable.com/guides/widgets\",\"name\":\"Widgets\",\"description\":\"Configuring and managing Selektable widgets\",\"dateModified\":\"2026-01-30T21:04:42.157Z\",\"isPartOf\":{\"@id\":\"https://docs.selektable.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.selektable.com/guides/widgets#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.selektable.com/guides/widgets#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https://docs.selektable.com/guides/custom-store\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Widgets\",\"item\":\"https://docs.selektable.com/guides/widgets\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.selektable.com/guides/widgets#article\",\"headline\":\"Widgets\",\"name\":\"Widgets\",\"description\":\"Configuring and managing Selektable widgets\",\"url\":\"https://docs.selektable.com/guides/widgets\",\"mainEntityOfPage\":{\"@id\":\"https://docs.selektable.com/guides/widgets#webpage\"},\"dateModified\":\"2026-01-30T21:04:42.157Z\",\"publisher\":{\"@id\":\"https://docs.selektable.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.selektable.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Selektable\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Selektable\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/widgets.md","siteName":"Selektable","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Quickstart","href":"/quickstart"},{"title":"How it works","href":"/how-it-works"}]},{"group":"Guides","pages":[{"title":"Custom store setup","description":"Complete guide to setting up a custom store with Selektable","href":"/guides/custom-store"},{"title":"Widgets","href":"/guides/widgets"},{"title":"Choosing the right product image","description":"How to select the best product image for AI generation","href":"/guides/product-image"},{"title":"Cart integration","href":"/guides/cart-integration"},{"title":"Identity tracking","href":"/guides/identity-tracking"},{"title":"Conversion tracking","href":"/guides/conversion-tracking"},{"title":"Analytics events","href":"/guides/analytics-events"},{"title":"Localization","href":"/guides/localization"}]},{"group":"Platform Integrations","pages":[{"title":"WooCommerce","href":"/integrations/woocommerce"},{"title":"Shopify","href":"/integrations/shopify"},{"title":"Custom platform","href":"/integrations/custom-platform"}]}]},{"tab":"SDK Reference","pages":[{"title":"SDK Reference","href":"/sdk/overview"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Widgets - Selektable","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":[],"chunks":[]}