Request: SVG Export - stroke inside auto conversion

When I SVG export shapes that have inside stroke positions, they get saved with centered strokes (since SVG still doesn’t support stroke position). Since this messes up the appearance of the graphics and in the case of shapes at the edge of a frame, those strokes get clipped.

I’ve found that people making SVGs by hand use a stroke doubling + clipping mask trick to simulate an inside stroke. Could Figma just do this automatically during export? Is there a plug-in that can accomplish this?

2 Likes

Doing this on export is exactly the kind of thing it takes code a nanosecond to accomplish but humans several minutes to complete.

1 Like