Shapes with SVG and CSS
This example demonstrates basic SVG shapes styled with CSS and inline attributes, rendered in a React application. It shows circles, rectangles, lines, and a path, with fill colors, stroke widths, and a grouped transform applied via scale and translate. The SVG markup uses React’s JSX syntax, and styles are defined in an external stylesheet targeting the `.lines` class. The code directly uses SVG elements like `<circle>`, `<rect>`, `<line>`, and `<path>`, with CSS properties such as `stroke-linejoin` and `stroke-width` controlling appearance.