Minimal brand Open Graph Image Template
A centered brand card with your logo, name, and tagline.
A centered brand card with your logo, name, and tagline.
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 Minimal brand template as your default, site wide share card. It centers your logo mark, name, and tagline over a quiet rule and your domain, so any page without a more specific Open Graph image still shares with a clean, branded face. It is the template to reach for first: ship it at the app root, then let sections override it with the more specific cards in this collection.
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 a 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. Next.js applies the file to every route in its segment, and nested segments with their own opengraph image file win over it.
Install with the shadcn CLI using your Shadcn UI Blocks API key:
npx shadcn@latest add @shadcn-ui-blocks/og-image-minimal-brand
The file lands at app/opengraph-image.tsx, exactly where a site wide card belongs. 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 name, tagline, and domain. Swap the drawn logo square for your real mark by replacing that div with an inline svg or an img with an absolute URL. For a dark variant, flip the background to #09090b, the text to #fafafa, and the muted tones one step lighter; the layout needs no other changes. Taglines read best under about 90 characters so they hold to two centered lines.
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.