Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Shapes with SVG and CSS

Public visualization

Shapes with SVG and CSS

0 stars1🌍 Public
AAmol Kulkarni
Last edited Jun 19, 2020
Created on Jun 19, 2020
Forked from HTML Cars Report

This example demonstrates basic SVG shapes styled with CSS and inline attributes, rendered in a React application. It shows circles, rectangles, lines, and a path, with fill colors, stroke widths, and a grouped transform applied via scale and translate. The SVG markup uses React’s JSX syntax, and styles are defined in an external stylesheet targeting the `.lines` class. The code directly uses SVG elements like `<circle>`, `<rect>`, `<line>`, and `<path>`, with CSS properties such as `stroke-linejoin` and `stroke-width` controlling appearance.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed