Release notes Open Graph Image Template
A dark changelog card with a version badge and a highlight list.
A dark changelog card with a version badge and a highlight list.
Every Open Graph image template is included with Basic and Pro. Pick a plan to copy the code, install with the CLI, and download the raw SVG.
Already purchased? Log in
Use the Release notes template for changelog entries and version announcements. The inverted version badge anchors the card, the headline names the release, and up to three highlight bullets tell readers what actually shipped before they click, which is exactly what makes changelog links get opened.
This template is a metadata image route for the Next.js App Router. The file exports size, contentType, and alt values plus a default async function that returns an ImageResponse. When the changelog is shared, satori converts the JSX into an SVG document, the runtime rasterizes that SVG into a 1200 by 630 PNG, and Next.js serves the result and wires the og:image and twitter:image tags into the page head automatically. Point the content object at your release data and every version gets its own card the moment it ships.
Install with the shadcn CLI using your Shadcn UI Blocks API key:
npx shadcn@latest add @shadcn-ui-blocks/og-image-release-notes
The file lands at app/opengraph-image.tsx, which makes it the site wide share card. For a changelog, move it into that segment instead, for example app/changelog/opengraph-image.tsx, or into a per release segment if each release has its own page. You can also copy the code from this page straight into your project.
The card renders text with Inter, read from assets/fonts at your project root with node:fs so the font files never ship to the browser. Download the latin woff files for weights 400, 500, 600, and 700 from Fontsource and save them as assets/fonts/inter-latin-400-normal.woff and so on.
The content object holds the brand, the chip label, the version, the headline, the highlights array, the date, and the url. Keep highlights to three short lines; the layout leaves them room at 26 pixels and a longer list starts to crowd the headline. The version badge inverts the palette (light on dark here), which is what makes it read as the anchor; keep that contrast if you recolor the card.
satori supports a focused subset of CSS: flexbox layout only, flat colors, and an explicit display: flex on any element with multiple children. Keep those rules in mind if you rework the layout.