Meetup Open Graph Image Template
A meetup card with a date tile, city chip, topic title, and rsvp url.
A meetup card with a date tile, city chip, topic title, and rsvp url.
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 Meetup template for local gatherings, user groups, and community nights. A date tile fixes the day, the topic reads as the headline, a one line description sets the scene, and the chip row carries the city, time, and RSVP note a neighbor needs.
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 meetup 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. Because the city and time live in code, a venue change updates the card the moment you edit the page.
Install with the shadcn CLI using your Shadcn UI Blocks API key:
npx shadcn@latest add @shadcn-ui-blocks/og-image-meetup
The file lands at app/opengraph-image.tsx, which makes it the site wide share card. For a meetup, move it into that segment instead, for example app/meetups/berlin-typescript/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 month and day for the tile, the title, a one line description, a chips array, and the url. The tile expects a three letter month in caps and a short day. The title runs to 58 pixels under a 760 pixel cap, room for a place and a topic. Keep the description to one line at its 700 pixel width. The chips suit city, time, and price, and three sit comfortably in the row.
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.