Fork of Fork of Fork of HTML Starter
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed