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:
- Create an account — Sign up for free at widgetstash.com
- Choose a widget — Browse our library and pick a widget
- Customize — Use the visual editor to match your brand
- 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
Forms
Contact forms, subscription forms, and polls
Reviews
Google Reviews, testimonial sliders, and star ratings
E-commerce
Popups, countdown timers, announcement bars
Social
Social feeds, share buttons, and media embeds
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: