A Lightweight Size Recommendation Widget for Shopify Product Pages
Short answer
The Shadow Size storefront widget is one async script of about 26 KB gzipped (about 83 KB uncompressed), added through a Shopify theme app block. It shows a floating “Find my size” button, so it does not push product page content around, and it opens a sizing panel only when the shopper asks for it.
Why a static size chart falls short here
Size tools often arrive as heavy embeds, iframes or camera flows that slow mobile product pages. Merchants then have to choose between helping shoppers pick a size and keeping the page fast.
What the widget adds to a product page
The theme app block outputs a single script tag loaded with async and defer, plus data attributes for the product, language, color and button position. The button is positioned over the page rather than inserted into it.
| What matters | Shadow Size widget | Typical heavy size tool |
|---|---|---|
| Script size | About 26 KB gzipped (about 83 KB uncompressed) | Often larger bundles, iframes or 3D libraries |
| Loading | Single script with async and defer | Can block rendering or load several resources |
| Placement | Floating button, left or right; does not push page content | Inline embeds that reflow the page |
| Installation | Theme app block in the Shopify theme editor; no theme code edits | Manual snippets in theme files |
How to set it up on your store
1. Install the app
Install Shadow Size on your Shopify store and sync your products.
2. Add the app block
In the theme editor, add the Shadow Size block to the product template. Set the button text, color and side of the screen.
3. Preview on mobile
Open a product with a saved chart on your phone, tap the button and run through a recommendation.
Frequently asked questions
How large is the widget?
About 26 KB gzipped, about 83 KB uncompressed, loaded as one script with async and defer.
Will it shift my product page layout?
The button is a floating element positioned over the page, so it does not push existing content. We have not published a measured CLS figure; test on your own theme with PageSpeed Insights.
Do I need to edit theme code?
No. The widget is a theme app block that you add and configure in the Shopify theme editor.
Can I use it outside Shopify themes?
Yes. The dashboard provides an embed snippet for custom or headless storefronts.
Start free or with a 14-day trial
Free: 100 recommendations per month and 10 one-time AI chart parses. Basic $19.90/month · Pro $49.90/month.