Guide · Next.js

Add a what's new changelog popup to Next.js

A What's New popup tells users about new features inside your app, where they will see them. ShipLog hosts the changelog and the feedback board, and its widget adds both to a Next.js app with one client component and no npm package.

Install

// components/shiplog-widget.tsx
"use client";

import Script from "next/script";

declare global {
  interface Window {
    ShipLog: { init(options: { projectSlug: string }): void };
  }
}

export function ShipLogWidget() {
  return (
    <Script
      src="https://app.shiplog.ca/widget/shiplog-widget.js"
      strategy="afterInteractive"
      onLoad={() => window.ShipLog.init({ projectSlug: "yourapp" })}
    />
  );
}

// app/layout.tsx: render <ShipLogWidget /> inside <body>

Render ShipLogWidget inside the body in app/layout.tsx and replace yourapp with the project slug from your ShipLog settings.

If your releases already live on GitHub, the free GitHub releases tool on shiplog.ca turns them into changelog entries you can import.

Themes, the slide-out panel and the other options are in the widget reference, with a live demo.

Start free with one project, 10 changelog entries and 10 feedback items, and move to Captain at $9/mo per project when you need more.

Get started free

Other install guides