Shapes with SVG and CSS
This example demonstrates how to combine SVG shape elements with CSS styling and transformations to create a static geometric composition. It shows circles, rectangles, lines, and a path arranged in a grid-like layout, with some shapes inheriting default black fills while others are explicitly colored red, blue, or green. The code uses raw SVG markup with nested `g` groups, CSS class selectors for stroke styling, and React’s `ReactDOM.render` to display a simple “Hello React!” message. Transform attributes apply scaling and translation to the entire SVG canvas.