Idukki
Skip to content
Developers + API

Embed on Hydrogen, Next.js, Astro, Remix

Frameworks that aren’t Shopify or Woo, the right way to drop in the widget without breaking SSR or hydration.

4 min read · last updated 2026-03
On this page

The Idukki widget is a single self-contained <script>. It renders into a placeholder div, mounts on first scroll-in, never touches React state outside of itself.

Next.js (App Router)

import Script from "next/script"

export function IdukkiGallery({ id }: { id: string }) {
  return (
    <div data-idukki-collection={id}>
      <Script src="https://cdn.idukki.io/widget.js" strategy="lazyOnload" />
    </div>
  )
}

Hydrogen

Use a similar pattern with @shopify/hydrogen’s ClientOnly. Place the script in a leaf component to avoid SSR mismatch.

Was this page helpful?

Still stuck?

Email us at support@idukki.io or open the in-app chat. We answer within one working day.

Talk to a human

Related guides

4-min setupDTC + B2B brands37 KB runtimeReal G2 reviews

Stuck?

A real human is faster than a search box.

In-app chat replies under 5 minutes during EU + US business hours. Status of a ticket? Email support@idukki.io and we’ll surface it.

  • No credit card
  • Cancel anytime
  • SOC 2 + GDPR

Where Idukki ships

Same data model. Every surface a shopper meets.

We use cookies

We use essential cookies to run this site and optional analytics cookies to understand how it’s used. You can change your choice anytime in our privacy policy.

Embed on Hydrogen, Next.js, Astro, Remix. Help — Idukki