Skip to main content
100%

Fork of Hello HTML

✓ Published0🌍 Public
JJenniMaier@gmx.de
Last edited Oct 12, 2024
Created on Oct 11, 2024
Forked from Hello HTML

This example demonstrates how to render simple SVG graphics using React by drawing a yellow circle face with two dark eye circles on an HTML page. The code directly embeds SVG elements into the markup, applying CSS to remove page margins and hide overflow. It imports the React 18.3.1 UMD library via a CDN script tag, then logs the React object to the console in an index.js file without using React components or state. The visualization relies purely on static SVG attributes like `cx`, `cy`, `r`, `fill`, and `stroke`. It serves as a minimal starting point for integrating React with SVG rendering.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes