Shape with SVG
A collection of basic SVG shapes—circles and rectangles—arranged in pairs on a canvas, with one group wrapped in a `<g>` element that applies a blue fill and black stroke to its children. The example demonstrates color overrides and inheritance through SVG attributes, including explicit `fill` and `stroke-width` properties on individual shapes. It also showcases a `<g class="lines">` group containing a `<line>` and a `<path>` that draw an angular, unconnected path across the lower portion of the viewport, with stroke styling applied via CSS. The code directly uses SVG elements like `circle`, `rect`, `line`, and `path` within a static `<svg>` embedded in HTML, with no JavaScript or data binding.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.