@crazygl/hero-fireflies
v0.1.1
Published
Fireflies — Glowing fireflies drift over a stylised mountain horizon. The cursor attracts the swarm and makes them flare bright. A customizable CrazyGL animated hero section — WebGL, React, drop-in.
Maintainers
Readme
Hero made by @ybouane.
@crazygl/hero-fireflies
Glowing fireflies drift over a stylised mountain horizon. The cursor attracts the swarm and makes them flare bright.
Demo
Install
npm install @crazygl/hero-firefliesUsage
import Fireflies from '@crazygl/hero-fireflies';
export default function Hero() {
return (
<Fireflies
heading="Glow."
fireflyCount={60}
cursorPull={1}
/>
);
}Customise
- Scene —
skyTop/skyBottom,showMountains,mountainColor,fireflyColor,accentColor. - Fireflies —
fireflyCount,fireflySize,driftspeed,cursorPull. - Content & typography — heading / subheading / two-column / custom content, plus heading font.
Best for
- Wellness, meditation, and nature brands
- Hospitality and travel landing pages
- Creative studios wanting a calm, magical mood
- Children's storytelling and games
This hero is part of CrazyGL, a collection of production-ready WebGL, canvas, 3D, and typography effects. Every CrazyGL hero ships with an agent-ready SKILL.md file that helps developers and coding agents adapt the effect into custom landing pages and interactive experiences.
