Skip to main content
100%

stroke-width

✓ Published1🌍 Public
Zzoniyac
Last edited Apr 22, 2020
Created on Apr 22, 2020
Forked from React Starter

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 description

React Starter code.

MIT Licensed

Similar vizzes