Satori
An open-source Vercel library that converts HTML and CSS written as JSX into an SVG image.
In more detail
ImageResponse uses it to lay out social cards. It supports flexbox but not grid or every CSS property.
Related terms
- ImageResponse — A Next.js class from next/og that turns JSX and a subset of CSS into a PNG image response.
- Resvg — An open-source library that renders SVG images into bitmap images such as PNG.
- SVG — Scalable Vector Graphics, an XML-based image format that describes shapes with coordinates so it stays sharp at any size.
Taught in
- Metadata API: Dynamic OpenGraph & Head Management — Next.js 15 & Modern App Router Architecture