bug: [Playground] PDF (Satori + PDFKit) renders a blank preview for certain layouts
Author: 1choooCreated Sep 5, 2026Updated Sep 5, 2026
Bug report
Description / Observed Behavior
When using the OG Image Playground (https://og-playground.vercel.app/), switching the export format tab to PDF (Satori + PDFKit) results in a completely blank or black screen in the preview pane. Other formats (such as HTML or SVG) render the layout elements correctly.
Expected Behavior
The PDF (Satori + PDFKit) export option should successfully render the current layout configuration into the PDF preview, mirroring what is displayed in the HTML and SVG tabs.
Reproduction
- Open the OG Image Playground.
- Load or input a layout containing nested flex elements, background gradients, and SVG paths.
- Click on the PDF (Satori + PDFKit) tab at the top of the preview pane.
- Observe that the preview renders nothing.
(Add your specific shareable playground link here)
Additional Context
- Playground version:
0.0.0-development.2 - Latest repository release:
0.33.4 - This version discrepancy or an outdated playground wrapper bundle for PDFKit/Satori might be the root cause of the rendering failure.
https://github.com/user-attachments/assets/c07a1f38-be3f-428d-8c0f-8d68d4d8b35f
Source: vercel/satori