JSX icons are frequently wrapped in export declarations like
export function SvgIcon(props). To restore the raw vector data, the parser strips away function definitions, return statements, and parenthesis boundaries, isolating the inner tag blocks. If you are inspecting JSON API payloads for vector datasets or code configurations, manage them using our
JSON Formatter. Here is a wrapper removal visualization:
// React export wrapper structure
export function HomeIcon(props) {
return (
<svg viewBox="0 0 24 24" {...props}>
<path d="..." />
</svg>
);
}
// Extracted XML blocks
<svg viewBox="0 0 24 24">
<path d="..." />
</svg>