viewBox ยท tspan
The SVG root has a viewBox for scaling. Multiline labels use tspan elements, and text characters are escaped before export.
Preparing your comprehensive developer toolkit
Practical Guide
Create SVG placeholders with a live preview, rounded corners, a transparent background and multiline labels.
Create SVG placeholders with a live preview, rounded corners, a transparent background and multiline labels. The SVG root has a viewBox for scaling. Multiline labels use tspan elements, and text characters are escaped before export.
The SVG root has a viewBox for scaling. Multiline labels use tspan elements, and text characters are escaped before export.
Choose a size preset or enter dimensions. Load the sample to try two text lines, then copy the SVG source or download the file.
Use a transparent background when the placeholder needs to appear over existing artwork or a page background.
The SVG root has a viewBox for scaling. Multiline labels use tspan elements, and text characters are escaped before export.
Use a transparent background when the placeholder needs to appear over existing artwork or a page background.
Choose a size preset or enter dimensions. Load the sample to try two text lines, then copy the SVG source or download the file.
Blank text shows the current width and height. Enter one line per label to place several lines in the centre.
The SVG root has a viewBox for scaling. Multiline labels use tspan elements, and text characters are escaped before export.
Blank text shows the current width and height. Enter one line per label to place several lines in the centre.
Open the tool to try these features.