Skip to main content
100%

Fork of Hello

✓ Published0🌍 Public
JJuan Manuel Castro
Last edited Aug 7, 2021
Created on Aug 7, 2021
Forked from Hello HTML

This example renders a yellow smiley face as a static SVG graphic using React’s `ReactDOM.render` to mount a component that returns SVG circle elements. The component defines dimensions, eye offsets, and radii as constants, then draws a large outlined circle for the face and two smaller circles for the eyes. The code relies on React 17 and ReactDOM, with all shapes positioned manually via SVG attributes. It demonstrates basic declarative SVG creation within a React component, with no interactivity or data binding.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes