Skip to main content
100%

Fork of Fork of Fork of HTML Starter

✓ Published0🌍 Public
Rrahul887393@gmail.com
Last edited Mar 14, 2024
Created on Mar 14, 2024

A circle follows the mouse cursor across an SVG canvas, its position updating in real time as the pointer moves. Built with React 18, the app uses `useState` to track the cursor's `clientX` and `clientY` coordinates, which are bound to the circle's `cx` and `cy` attributes. An `onMouseMove` handler on the SVG element triggers the state update, while ReactDOM renders the component into the DOM.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes