
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
@stianlarsen/meteors
Advanced tools
A dynamic and customizable React component for rendering realistic meteor animations on any container. Supports light and dark modes, and allows configuration for speed, size, and the number of meteors.
A dynamic and customizable React component for rendering realistic meteor animations on any container. Perfect for adding a unique and mesmerizing effect to your web applications.
A preview of @stianlarsen/meteors
Install the package using npm:
npm install @stianlarsen/meteors
Or using yarn:
yarn add @stianlarsen/meteors
Import and use the Meteors component in your React project:
import Meteors from "@stianlarsen/meteors";
function App() {
return (
<div style={{ position: "relative", width: "300px", height: "300px" }}>
<Meteors
speed={2}
size={50}
amount={20}
colorLightmode="black"
colorDarkmode="white"
fallingSide="right"
/>
</div>
);
}
Meteors
Component PropsThe Meteors
component accepts several props to customize its behavior and appearance:
Prop | Type | Description |
---|---|---|
speed | number | The speed of the meteors' fall. Defaults to 1 . |
size | number | The size of the meteors. Defaults to 50 . |
amount | number | The number of meteors. Defaults to 20 . |
fallingSide | string | Determines the direction of the meteor fall (left or right ). Defaults to left . |
colorLightmode | string | The color of the meteors in light mode. Defaults to "rgba(0, 0, 0, 1)" . |
colorDarkmode | string | The color of the meteors in dark mode. Defaults to "rgba(255, 255, 255, 1)" . |
Here is how you can customize the meteors' behavior using the available props:
<Meteors
speed={3}
size={30}
amount={10}
colorLightmode="blue"
colorDarkmode="yellow"
fallingSide="left"
/>
Contributions are always welcome! Please feel free to open issues or submit pull requests.
@stianlarsen/meteors
is MIT licensed.
For any questions or suggestions, feel free to reach out.
FAQs
A dynamic and customizable React component for rendering realistic meteor animations on any container. Supports light and dark modes, and allows configuration for speed, size, and the number of meteors.
The npm package @stianlarsen/meteors receives a total of 0 weekly downloads. As such, @stianlarsen/meteors popularity was classified as not popular.
We found that @stianlarsen/meteors demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.