JSFiddle - React, Tailwind, and code Playground
by Ben Clayton
HTML
<h1>'param' Example</h1>
<h2>Passing Values to Embedded SVG</h2>
<p>To pass parameters to an SVG, use the <object> element with child <param> elements. Each <param> element should have name/value pairs with the 'name' and 'value' attributes; these will be exposed to the embedded SVG document.</p>
<div id="reusable">
<object type="image/svg+xml" data="http://vanilla.infxsolutions.com/script/infx-svg/box-linking.svg" style="width: 150px; height:150px; display:inline;">
<param name="color" value="red" />
<param name="label" value="stop" />
</object>
</div>