Demo: preview SVG markup before embedding
SVG previews help catch missing viewBox, oversized paths, unsafe script tags, and colors that do not match the design system.
- Check viewBox before changing width and height.
- Remove scripts and external references for safer embedding.
- Use currentColor when icons should inherit text color.
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor"><path d="M4 12h16"/></svg>