
Security News
TC39 Advances 11 Proposals for Math Precision, Binary APIs, and More
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
rocket-cursor-component
Advanced tools
A customizable React component that replaces the cursor with an animated rocket.
A customizable React component that replaces the mouse cursor with an animated rocket that rotates based on movement and displays a flame effect when in motion.
Install the package via npm:
npm install rocket-cursor-component
Here's an example of how to use the RocketCursor
component in your React app:
import React from "react";
import RocketCursor from "rocket-cursor-component";
function App() {
return (
<div>
<h1>Your app content here</h1>
<RocketCursor size={60} threshold={15} />
</div>
);
}
export default App;
Prop | Type | Default | Description |
---|---|---|---|
size | number | 50 | The size of the rocket cursor |
threshold | number | 10 | Distance to move before the rocket rotates |
isVisible | boolean | true | Show or hide the rocket cursor |
no-rocket-cursor
.Here’s a demo of the Rocket Cursor in action:
no-rocket-cursor
.This project is licensed under the MIT License. See the LICENSE file for details.
FAQs
A customizable React component that replaces the cursor with an animated rocket, featuring rotation and flame effects.
The npm package rocket-cursor-component receives a total of 7 weekly downloads. As such, rocket-cursor-component popularity was classified as not popular.
We found that rocket-cursor-component demonstrated a healthy version release cadence and project activity because the last version was released less than 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
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.