How do I open a Supademo popup embed from a Next.js App Router page without making the entire page a Client Component?
03:05 27 May 2026

I am adding a Supademo walkthrough to a page in a Next.js App Router application.

Supademo's popup embed uses an external SDK and exposes Supademo.open('DEMO_ID'). Their SPA guidance says to call it from a click handler after the SDK has loaded.

My page is currently a Server Component, and I would like to keep it that way:

// app/features/page.tsx
import Script from 'next/script';

export default function FeaturesPage() {
  return (
    

Feature overview