Podcast show Open Graph Image Template
A podcast show card with a waveform tile, show name, and host line.
A podcast show card with a waveform tile, show name, and host line.
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 Podcast show template for a show's home page rather than a single episode. A cover tile with a waveform and the show name sits beside the show title, a one line description, the host line, and cadence chips. It gives the whole show one recognizable card, so a link reads as a series a listener can subscribe to.
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 show page 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. The cover tile is drawn in code from a bar waveform plus the show name, so it reads as audio.
Install with the shadcn CLI using your Shadcn UI Blocks API key:
npx shadcn@latest add @shadcn-ui-blocks/og-image-podcast-show
The file lands at app/opengraph-image.tsx, which makes it the site wide share card. For a podcast, move it into the show segment instead, for example app/podcast/opengraph-image.tsx, and use the podcast episode card on the episode routes. 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 show name, description, host, chips, and url. The chips array carries the cadence and episode total, two by default, each a bordered pill. The waveform array sets the bar heights on the cover tile, and every other bar renders white, so reordering the values changes which peaks stand out. For real cover art, replace the tile with an img at an absolute URL sized to 340 by 340.
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.