
Security News
Suno Breached via Shai-Hulud Worm, Leaked Code Exposes AI Music Scraping
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.
react-svg-cursor
Advanced tools
Use any image or SVG as a cursor in your react project.
npm install --save react-svg-cursor
import { CustomCursor } from "react-svg-cursor";
import svg from "./assets/test.svg";
// or
import png from "./assets/test.png";
ReactDOM.render(
<>
<App />
<CustomCursor
component={svg}
isDisabled={false}
width={20}
height={20}
zIndex={420}
transform="translate(-30%, -10%) rotateZ(-22deg)"
/>
</>,
document.getElementById("root")
);
| name | type | default | description |
|---|---|---|---|
| component | any | none | Your asset to be used as cursor |
| isDisabled | boolean | false | Turn on or off your custom cursor |
| width | number | 18 | Width |
| height | string | 18 | Height |
| zIndex | number | 999 | z-index, adjust for your app |
| transform | string | "none" | You can use this to rotate your cursor, works exactly like css rule |
You can add your styles on .rsc-cursor class name
MIT-licensed. See LICENSE.
FAQs
Use any SVG or Image as your custom cursor
We found that react-svg-cursor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.

Security News
Vercel is formalizing a monthly release program for Next.js. The change follows React2Shell and a sharp rise in AI-assisted vulnerability discovery.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.