Skip to main content
100%

Shapes with SVG and CSS

✓ Published0🌍 Public
MMayaJava
Last edited Mar 23, 2020
Created on Mar 13, 2020
Forked from HTML Starter

This example demonstrates basic SVG shapes rendered within a React application, using inline SVG elements styled with CSS. The code displays circles, rectangles, and lines with varying fills, strokes, and transformations, including a group translated along the Y-axis. A path element with a pink stroke is also included, while CSS classes control the styling of grouped line elements. The visualization is built with React and uses raw SVG syntax (circle, rect, line, path) within an HTML page, with Dart styling applied via an external stylesheet.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes