HSVG W shapes
✓ Published0🌍 Public
This example displays two simple shapes—a circle and a rectangle—inside an SVG, with a red circle positioned lower and a black line crossing the composition. The shapes are grouped and shifted using an SVG `g` element with a `transform` attribute, while individual fill and stroke styles are applied directly. The code uses React to render the static SVG markup, with basic CSS resetting the page margin. No interactive behavior or data binding is present; it is a minimal demonstration of SVG primitives within a React component.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed