Press release Open Graph Image Template
A press release card with a release chip, headline, and contact line.
A press release card with a release chip, headline, and contact 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 Press release template for announcements, wire style news, and official statements. It borrows the newsroom format: a release label in tracked caps sits opposite the brand, a short rule leads the headline, and the dateline and press contact frame the card top and bottom.
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 release 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. Because the headline and dateline live in code beside the release itself, a correction updates the card at the same moment as the page.
Install with the shadcn CLI using your Shadcn UI Blocks API key:
npx shadcn@latest add @shadcn-ui-blocks/og-image-press-release
The file lands at app/opengraph-image.tsx, which makes it the site wide share card. For a newsroom, move it into that segment instead, for example app/press/platform-apps/opengraph-image.tsx. 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 label, the title, the dateline, and the contact. The label is uppercased in code, so write it in sentence case; "For immediate release" and "Under embargo" both fit. The headline renders at 64 pixels under a 1000 pixel cap, room for roughly a dozen words. The dateline follows the wire habit of city then date. The footer pairs a fixed "Media contact" label with your contact address.
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.