Generate a labelled SVG placeholder at requested dimensions and return it as an image data URL.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Width and height become the SVG viewport, a background rectangle fills it, and centred text is scaled from the shorter dimension. Without a label, the dimension pair is used as text.
Width: 320 Height: 180 Text: Preview
data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIwIiBoZWlnaHQ9IjE4MCI+...
Wireframes reserve image slots, responsive layouts test aspect ratios, and documentation mocks use labelled assets.