Fabric needed,
size by size.
A free widget for your pattern: your customers pick their size and fabric width and see right away how much fabric to buy.
Free, with two small links under the widget · no sign-up · no cookies
A free widget for your pattern: your customers pick their size and fabric width and see right away how much fabric to buy.
Free, with two small links under the widget · no sign-up · no cookies
A real widget for the free Charlie Chinos pattern from FreeSewing, with a 10% margin.
<div class="patternnest-widget" data-pn-widget="YOUR-ID" data-pn-title="Fabric needed: Your pattern" data-pn-h="674" style="max-width:720px"><p style="display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;margin:0;padding:12px 0;font-size:14px;line-height:20px;text-transform:none;letter-spacing:normal"><a href="https://madegrain.com/patternnest/fabric-yardage/your-label/your-pattern/" style="color:inherit;text-decoration:underline;text-underline-offset:3px">Your pattern: all sizes and fabric widths</a><a href="https://madegrain.com/patternnest/?src=widget" style="margin-left:auto;color:inherit;text-decoration:underline;text-underline-offset:3px">Powered by PatternNest</a></p></div> <script src="https://madegrain.com/w/embed.js" async></script>
Open your pattern file in PatternNest and add each size once. The file stays on your device.
PatternNest works out the cutting plans for every size on the usual fabric widths, folded and single layer, with and without a direction.
Copy the code and paste it on your site. You can change or delete the widget at any time.
Pick size and width, and the figure is there. In metres or yards, rounded up to 10 cm or an eighth of a yard.
Anyone cutting single layer with a projector sees the figure for that. Folded is the default.
A one-way print or nap and shrinkage when prewashing can be added.
Under every figure it says that it comes from a PatternNest cutting plan and how much margin you add.
Light, dark or automatic, in your accent colour, from 280 to 720 pixels wide.
Your pattern also gets a page on madegrain.com with the fabric needed for every size and width, your label name and a link to the pattern in your shop. The first link under the widget leads there.
If you allow it, that page offers the code to fabric shops that sell your pattern. They show the same widget, with your links.
Almost everywhere you use the code with script. Where a site removes scripts, use the code without script.
Open the product in Shopify. In the description, click “Show HTML” (the <> icon), paste the code without script and save. Shopify doesn't run scripts in descriptions reliably, so use the version without script.
In the block editor, add a “Custom HTML” block and paste the code with script. In the classic editor, use the “Code” tab. WordPress keeps the code only for administrators and editors: with the role author or contributor it removes both versions when you save, so ask an administrator to add it.
Add a “Code” block where you want it and paste the code with script. Squarespace runs code with a script or an iframe only on the Core, Plus and Advanced plans. On Basic, link to your widget instead: the address after src= in the code without script.
Click “Add Elements”, then “Embed Code”, “Popular Embeds” and “Embed HTML”. Click “Enter Code”, paste the code without script and click “Apply”. Make the element about 40 pixels taller than the height in the code, so the link below the widget shows too.
Payhip descriptions have no HTML view. On your own Payhip store pages with your own domain, add the code with script under “Add section” and “Embed Code”. Otherwise show the widget on your own site and link to it from the description.
Paste the code with script into your HTML where the widget should appear. The script sets the height and checks the two links under the widget.
Etsy doesn't allow embedded code in listings, so the widget can't go there. Show it on your own site. If you mention that site in your Etsy shop, do it as fabric information, not as a way to buy elsewhere.
Nothing. It's free as long as the two links under it stay: one to the page of your pattern on madegrain.com, one to PatternNest.
No. The widget only shows figures, with no sign-up and no app.
Only what the widget and the page of your pattern show: the pattern name, your label name, the link to the pattern in your shop, the garment, sizes, fabric names, your title and note, the margin and the figures. Your pattern file never leaves your device. On top of that there's a count of how often the widget was loaded.
Every figure comes from a cutting plan PatternNest worked out for exactly that size, fabric width and cutting option. Your margin is added and the result is rounded up. If you lay the pieces out differently by hand, you may need more, which is what the margin is for.
Yes, at any time with your secret edit link. Use it to change texts, appearance, margin and sizes, or to delete the widget. Its page on madegrain.com goes with it. We can't recover the link, so keep it safe.
No. It sets no cookies, stores nothing in your customers' browsers and collects no personal data. The counter only counts views. As with any page, the IP address is transmitted when it loads; we don't store it.
It takes the width it gets, from 280 to 720 pixels, comes light, dark or automatic and can use your accent colour. If that colour is too light or too dark, the widget adjusts it so everything stays readable.
Work it out once, paste the code, and every visitor sees their figure.
Create widget