Market update Open Graph Image Template
A dark market card with three ticker rows and a date line.
A dark market card with three ticker rows and a date 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 Market update template for financial newsletters, market recaps, and any post that closes on a handful of movers. It leads with the update title and a date, then lists three ticker rows, each with its symbol, price, and a change chip that reads green when the name is up and red when it is down.
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 update 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. Wire content to your data feed and every send renders the closing figures without a design pass.
Install with the shadcn CLI using your Shadcn UI Blocks API key:
npx shadcn@latest add @shadcn-ui-blocks/og-image-market-update
The file lands at app/opengraph-image.tsx, which makes it the site wide share card. For a recurring update, move it into that route instead, for example app/market/2026-07-05/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 title, the date line, and a tickers array. Each ticker carries a symbol, a name, a value price, a change string, and an up flag that switches the chip between the emerald and red treatments. Three rows fit the height comfortably; a fourth is possible but tightens the spacing. The up flag drives color only, so format the sign into the change string yourself, and keep symbols short because their column is a fixed width.
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.