Skip to main content
OGCard renders the package’s mark and title on a dark background using inline styles, sized for the 1200x630 Open Graph format. It is designed for use inside next/og ImageResponse.

Next.js App Router

Create app/opengraph-image.tsx:

Props

OGCard accepts one required prop:
OGCard does not accept a description, logo URL, color theme, or image dimensions. Inspect the generated image before shipping to production.

Entry Points

Reference for the @n3wth/ui/og module.

Theme Provider

Match your app’s theme when composing preview pages.
Last modified on September 20, 2026