Add a virtual try-on widget to any storefront
Photta is a framework-agnostic AI virtual try-on widget. One script tag for HTML stores, one ESM import for React, Vue, Svelte, or Next.js. Works on every modern storefront.

LUXE BASICS
Vibes Hoodie
$58
Why custom storefronts choose Photta
Modern e-commerce isn't always Shopify. Headless commerce, Next.js Commerce, custom Rails / Django stores, and JAMstack storefronts power a growing share of fashion DTC. Photta works on every one of them with a single SDK — no platform-specific extension to maintain.
- 🔌
One SDK, every framework
Vanilla HTML, React, Vue, Svelte, Solid, Next.js, Remix, Astro, Hydrogen — same SDK, same API. No framework-specific build artifacts.
- ⚡
Small SDK
The script tag is a small loader that loads with defer. The heavy try-on UI loads only when a shopper clicks the widget — no initial page weight cost.
- 🎯
JavaScript API for full control
Use Photta.init({...}) to mount programmatically with your own product data, callbacks, and event handlers. Build deep integrations with your cart and checkout.
- 🔒
Privacy by default
Shopper photos delete in under one hour. GDPR + CCPA compliant. The widget runs client-side — no shopper PII routes through your servers.
Used by custom storefronts in every framework
- 1
- Script tag to install
- Any
- Frontend framework
- REST + JS
- API surface
- 29
- Languages out of the box
How Photta installs on a custom storefront
- 1
Get your widget key
Sign up at business.photta.app and copy your pk_live_… key from the dashboard.
- 2
Drop the script tag (or import the SDK)
On vanilla HTML, paste the script before </body>. On React / Vue / Next.js, import the ESM SDK and call Photta.init() in your product page component.
- 3
Mount with your product data
Pass your product ID, variants, and add-to-cart callback to Photta.init(). The widget renders inline, calls back when the shopper hits add-to-cart.
Custom storefront install (HTML or ESM)
Choose the install style that matches your stack. The script tag is best for HTML and JAMstack stores; the ESM import gives full programmatic control for React-style frameworks. Replace pk_live_REPLACE_ME with your key from the Photta Business dashboard.
<!-- Vanilla HTML store -->
<div id="photta-mount"></div>
<script
src="https://widget.photta.app/v1/embed.js"
data-api-key="pk_live_REPLACE_ME"
data-mount="#photta-mount"
defer></script>
<!-- React / Next.js / Vue / Svelte / Astro / Hydrogen / Remix -->
import { Photta } from 'https://widget.photta.app/v1/embed.js';
useEffect(() => {
Photta.init({
pk: 'pk_live_REPLACE_ME',
target: '#photta-mount',
productId: product.id,
onAddToCart: (variantId) => addToCart(variantId),
});
}, [product.id]);Built for serious developers
Full SDK + REST API
Use the JS SDK in the browser, or call Photta's REST API server-side for batch try-on workflows. Complete API docs at api-docs.photta.app.
Programmatic control
Pass product data, hook into add-to-cart, customize per-render branding. Build try-on into a custom UX, not the other way around.
Webhooks (coming soon)
Get a POST callback when a try-on completes — perfect for triggering re-engagement emails or analytics events server-side.
Bot-proof
hCaptcha + BotD signals stop scrapers from burning your monthly try-on credits. Domain allowlisting prevents key abuse.
CSP friendly
Documented CSP directives for stores with strict Content Security Policies. The SDK doesn't use eval, no inline scripts required.
Analytics export
Pull per-product try-on counts and conversion deltas via API into your data warehouse — Snowflake, BigQuery, Postgres, whatever.
Interactive Virtual Try-On & PDP Readiness Tool
Customize this launch checklist for your e-commerce team, export it to Markdown or PDF, or embed the interactive checklist and verified AI Try-On badge directly on your storefront or agency blog.
Custom storefront integration FAQ
- Yes. Use the ESM SDK (`import { Photta } from 'https://widget.photta.app/v1/embed.js'`) in any client component. The widget mounts in a container of your choice and integrates with your existing add-to-cart flow.
Pricing for custom storefronts
Three pricing tiers, priced per month; the current prices are on the plans page. Same pricing whether you're on HTML, React, Vue, or anything else. Free trial on every plan, no credit card.
View plansAdd virtual try-on to any storefront
One script tag for HTML, one import for React. Free trial, no credit card.
Start free trial