Shapes with SVG and CSS
This example demonstrates how to create basic geometric shapes using SVG elements within a React application, styled with CSS. It shows circles, rectangles, lines, and paths rendered on an SVG canvas with fixed dimensions. The code uses raw SVG markup for circles and rectangles, applying inline fill colors like red and green, while grouping elements with `<g>` tags to apply shared styling attributes such as fill and stroke. A purple stroke with a thick stroke-width highlights the line and path elements. The accompanying CSS file sets body margins to zero and hides overflow.