Platform Guide

How to Install 100Widgets on HTML / Any Site

Embed directly into plain HTML, static site generators, and custom web apps. Follow this simple guide to copy and paste any 100Widgets interactive component into your HTML / Any Site website.

Installation Steps

1

Copy the 1-line script embed

Choose your widget from the catalog and copy the standard embed code snippet.

<script src="https://100widgets.com/js.php?id=301"></script>
2

Paste into your HTML file

Open your HTML file (e.g. index.html) in your editor. Paste the script tag at the exact position inside the where you want the component to render.

<div class="main-content">
  <!-- 100Widgets component will appear here -->
  <script src="https://100widgets.com/js.php?id=301"></script>
</div>
3

Alternative: Container Mode with deferred loading

If you want asynchronous non-blocking script loading, use Container Mode (Mode A). Place the placeholder div where the widget renders, and load the script with defer.

<div data-widget="loan-calculator" data-skin="modern" data-accent="#2563eb"></div>
<script src="https://100widgets.com/w/301.js" defer></script>

Tips for HTML / Any Site

  • No build steps or bundlers required — everything executes instantly in modern browsers.
  • Place scripts right before for maximum initial page load speed.
  • Custom CSS variables can be set on the host element or inherited automatically.

Frequently Asked Questions

Does this require Node.js or npm?

No, all 100Widgets components are completely standalone and run directly in the browser with zero build steps.

Can I use this with Hugo, Jekyll, Astro, or 11ty?

Yes, simply paste the script tag into your layout template, partial, or markdown document.

Is the embed code responsive?

Yes, every component automatically adapts to its container width from mobile screens up to 4K displays.

Other Installation Guides

Install on WordPress → Install on Shopify → Install on Wix → Install on Squarespace → All 18 Guides →

Ready to customize a widget? Explore the 100Widgets Catalog.