That's your actual widget.js running live on this page — the same script your users will embed on their sites.
What your users see
Which feature should we ship next?
184 votes
Add to any HTML site
<script
src="https://beta.shipgrid.io/widget.js"
data-project="shipgrid"
data-theme="dark"
defer
></script>Works in <head> or before </body> — the script waits for the DOM automatically.
Using Next.js?
import Script from "next/script"
<Script
src="https://beta.shipgrid.io/widget.js"
data-project="shipgrid"
data-theme="dark"
strategy="lazyOnload"
/>Use strategy="lazyOnload" to avoid hydration warnings. Add to your root layout.tsx to show on every page.