Add Diwali lights to your Webflow site
Webflow sites can load a script on every page from site settings. Add Diwali Lights there and your site gets glowing diyas, fireworks, a marigold toran or floating sky lanterns, without touching your Designer layout.
You'll need your free key first. It takes a minute and arrives by email.
Step by step
Get your free widget code
Register your Webflow domain at worldofaiagents.com/diwali (your custom domain or
yoursite.webflow.io), verify your email and copy the script tag.Open Custom code
In the Webflow dashboard open your site's Site settings → Custom code.
Paste into Footer code
Paste your Diwali Lights code into Footer code (before </body> tag) and click Save changes.
Publish
Click Publish and choose your domains. The lights appear on the published site.
Your code looks like this
<script async src="https://worldofaiagents.com/diwali/w.js" data-key="DL-YOURKEY" data-style="grand"></script>
Change data-style to diyas, fireworks, toran, lanterns or grand whenever you like. Optional: data-sparkler="off" removes the cursor sparkler, data-until="2026-11-20" switches the lights off after a date, and data-position="right" moves the small on/off button.
Staging and production
If you publish to both yoursite.webflow.io and a custom domain, register each one to get a key for each, or register the custom domain and test on it directly.
Troubleshooting
- I can't see the lights in the Designer
- Site-wide custom code runs only on the published site, not inside the Designer canvas.
- Custom code is greyed out
- Webflow needs a paid site plan to run custom code.
Questions
Can I add Diwali animation to Webflow without Interactions?
Yes. Diwali Lights is a ready-made script, so you don't need to build Webflow Interactions or Lottie files. Paste one line in Footer code and publish.
Does it affect my Webflow layout?
No. It draws on a fixed transparent overlay that ignores clicks, so your layout, CMS pages and forms are untouched.
Light up your Webflow site today
The lights on this page are the real widget. Try every style on the main page.
Get my free Diwali lights 🪔Other guides
- Add Diwali lights to your WordPress website
- Add Diwali lights to your Shopify store
- Add Diwali lights to your Wix website
- Add Diwali lights to your Squarespace website
- Add Diwali lights to your Blogger blog
- Add Diwali lights with Google Tag Manager
- Diwali lights for React, Next.js and Vue apps
- Deepavali decoration for your website