stroke-width
✓ Published1🌍 Public
Five horizontal black lines demonstrate the SVG `stroke-width` property, with widths increasing from 2 to 10 pixels. The paths are drawn inside a `<g>` element with `fill="none"` and `stroke="black"`, using hardcoded `d` coordinates for straight lines. The example uses React for rendering and raw SVG path elements, showing a static comparison of stroke thickness without interactivity.
AI-generated descriptionReact Starter code.
MIT Licensed