Documentation

Everything you need to know about adding WidgetStash widgets to your website. Our embed system is designed to be dead simple — if you can copy and paste, you can use WidgetStash.

Getting Started

WidgetStash widgets are self-contained JavaScript components that render inside your website. Here's how to get started:

  1. Create an account — Sign up for free at widgetstash.com
  2. Choose a widget — Browse our library and pick a widget
  3. Customize — Use the visual editor to match your brand
  4. Embed — Copy the code snippet and paste it into your site

How Embedding Works

Each widget is delivered via a small JavaScript snippet. When you paste the embed code into your HTML, our script:

  • Loads asynchronously (never blocks page rendering)
  • Fetches your widget configuration from our CDN
  • Renders the widget in a sandboxed container
  • Applies your custom styling automatically
<script src="https://widgetstash.com/embed.js"
  data-widget="contact-form"
  data-id="YOUR_WIDGET_ID">
</script>

Replace YOUR_WIDGET_ID with the ID from your dashboard.

Widget Types

edit_note

Forms

Contact forms, subscription forms, and polls

star

Reviews

Google Reviews, testimonial sliders, and star ratings

shopping_cart

E-commerce

Popups, countdown timers, announcement bars

share

Social

Social feeds, share buttons, and media embeds

build

Tools

FAQ accordions, cookie consent, and more

Customization

Every widget can be customized through the visual editor in your dashboard. You can change:

  • Colors, fonts, and border radius
  • Layout (grid, list, carousel)
  • Content and labels
  • Behavior (triggers, timing, animations)
  • Custom CSS for advanced styling

Supported Platforms

WidgetStash works on any platform that allows custom HTML:

WordPress
Shopify
Wix
Squarespace
Webflow
HTML/CSS
Next.js
Ghost
Joomla

FAQ

Do widgets slow down my site? expand_more
No. Our scripts load asynchronously and are served from a global CDN. They typically add less than 50ms to page load.
Can I use widgets on client sites? expand_more
Yes! Pro and Business plans allow use on unlimited domains, perfect for agencies.
Is there an API? expand_more
Business plans include API access for programmatic widget management. Contact us for details.