
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
@ar-dacity/ardacity-aurora
Advanced tools
A beautiful WebGL-powered aurora effect component for React applications.
npm install @ar-dacity/ardacity-aurora
After installation, the component will be automatically added to your project's components directory.
import { Aurora } from './components/ArDacityUi/Aurora';
function App() {
return (
<div style={{ width: '100%', height: '300px' }}>
<Aurora
colorStops={["#3A29FF", "#FF94B4", "#FF3232"]}
blend={0.5}
amplitude={1.0}
speed={0.5}
/>
</div>
);
}
Prop | Type | Default | Description |
---|---|---|---|
colorStops | string[] | ["#00d8ff", "#7cff67", "#00d8ff"] | Array of color stops for the gradient |
amplitude | number | 1.0 | Controls the amplitude of the aurora effect |
blend | number | 0.5 | Controls the blend factor of the aurora effect |
speed | number | 1.0 | Controls the animation speed |
This component requires the OGL library. It's listed as a peer dependency, so you'll need to install it in your project:
npm install ogl
The Aurora component creates a beautiful animated gradient effect similar to the aurora borealis. It uses WebGL for rendering and animation, providing an efficient and smooth experience.
The component:
MIT
FAQs
WebGL aurora effect for React applications
The npm package @ar-dacity/ardacity-aurora receives a total of 7 weekly downloads. As such, @ar-dacity/ardacity-aurora popularity was classified as not popular.
We found that @ar-dacity/ardacity-aurora 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
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.