🌍 Public
Viewing a saved revision (read-only)
3d04666428784ad6977f776121668e22
Shapes with SVG and CSS
This example demonstrates basic SVG shapes rendered through React, showcasing circles, rectangles, lines, and paths with varied fill, stroke, and grouping. The code uses raw SVG elements and CSS classes, such as `.lines` and `.lines path`, to apply styling like stroke width and line joins. A CSS rule sets the body margin to zero and hides overflow, while the SVG is scaled with a transform. The example highlights how SVG structure and external CSS work together to control visual properties without additional libraries.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.