Practical design workflow

How to Find Clipped SVG Strokes Before Export

A thin graphite curve and amber shard sit along the edge of an ivory plane.

A path can end inside an SVG’s viewBox and still lose the rounded end of its stroke. The visible stroke reaches beyond the path, and the viewport or a container can cut it off.

We compared two equal-size previews of a fictional Moss Signal arrow in the production Ciyo canvas. The narrow preview loses the arrow tip. The wider viewBox leaves room for the painted stroke.

Quick answer

Compare the painted bounds with the viewBox, including the stroke, caps and joins. Leave clearance or move the path inside. Render the exported SVG at its target display size and check the actual embed for clipping.

1. Compare the painted edge with the viewBox

For the example arrow, the path reaches x=58. The round cap of a 14-unit stroke can reach x=65. The original viewBox of 0 0 64 64 ends at x=64. Caps, joins, markers and filters can extend the painted area in other artwork.

Read a viewBox as minimum x, minimum y, width and height. The revised -4 -4 72 72 in this example extends to x=68, leaving room for the illustrated stroke.

2. Compare at the same viewport size

Set the previews to the same width and height. Expanding the viewBox maps more SVG units into the same viewport, so shapes can look slightly smaller. Move the geometry inward instead if the visible scale is important.

Test the SVG under the same embedding conditions you plan to ship. An inline SVG and an image element may use different clipping and sizing rules. Check container overflow as well.

SVG stroke proof
CompareMoss Signal testWatch for
Original viewBox0 0 64 64Round cap extends to x=65
Wider viewBox-4 -4 72 72Clear tip and slight visual scale change
Same-size preview144 by 144 pixelsPadding and final embed behavior

Try the fictional example in Ciyo

Paste the original arrow proof and the 144-pixel revised preview in Ciyo. The revised panel starts over the left-side original. Use Select to put it into the open comparison slot.

The wider-viewBox arrow preview overlaps the original and the right comparison slot is empty.
Initial placement in the production Ciyo canvas.

What the production proof showed

The original tip meets the right edge of the view. The revised tip is rounded with space around it. Use that comparison to identify the error, then validate the actual SVG in the publication context.

The original arrow tip meets an edge marker. The wider-viewBox version shows its fully rounded tip.
Revised placement in the same production workspace.

3. Verify the exported SVG in context

Open the final file in the browser and place it in its actual embed. Check both the smallest intended size and a larger view. Inspect each rounded cap, angle and corner, along with padding and alignment against adjacent icons.

Keep the old and revised SVG separately until approval, then update the asset consumers. Note if you changed the painted geometry, the viewBox or the container.

Sources

Frequently asked questions

Can I use overflow visible to reveal a cut-off stroke?

That can help in some inline SVG contexts. Its effect depends on the embedding and layout. Deliver an artwork viewBox with sufficient bounds when the asset needs to work in several places.

Why does a larger viewBox make the icon look smaller?

A wider coordinate range is fitted into the same number of display pixels. Check the framing and move geometry inward if preserving scale is essential.

Set up an SVG export comparison

Place fixed-size browser previews side by side in Ciyo while reviewing your source SVG.