Loading
Loading
Loading
mobile footer

Build the Interaction Layer Your Website is Missing.

Browse All EffectsBrowse All EffectsBrowse All EffectsUpgrade to ProUpgrade to ProUpgrade to Pro

70+ effects free, forever. No credit card.

© 2026 Hyperiux. All Rights Reserved.

AI Component CatalogueHey AI, Learn About Us
Platform

Vault

  • Documentation
  • Pricing
  • Blog
  • Community
  • NPM
  • MCP

Categories

  • All Effects
  • WebGL
  • Text
  • Backgrounds
  • Buttons
  • Carousels
  • Scroll
  • Components
  • Navigation
  • Cursor
  • Transitions
  • Loaders

Documents

  • Introduction
  • Installation
  • CLI
  • Dependencies
  • License

Legal

  • License Agreement
  • Terms of Service
  • Privacy Policy
  • Refund Policy
Socials
  • Twitter / X
  • LinkedIn
  • GitHub
  • Instagram
Contact Us
  • hello@hyperiux.com
New effects, in your inbox

Every new drop, plus the occasional behind-the-scenes build. No spam. Unsubscribe anytime.

All Effects
Featured ComponentsText AnimationsAnimated BackgroundsAnimated ButtonsCarousel EffectsScroll EffectsCreative ComponentsNavigationsCursor EffectsTransitionsLoadersWebGL & 3D Effects
Templates
IntroductionInstallationCLIDependenciesLicense
PricingBlogGithubNPMMCP Doc
Loading
Home/effects/Neon Streak

Neon Streak

A glowing neon light trail that twists, loops, and flows across a dark, atmospheric background, creating a continuous display of fluid motion.

WebGL Shader
DemoDemoDemo

Tune the Real Props

Background

Canvas colour behind the smoke.

Overview

Neon Streak creates a continuous flow of luminous light against a dark, smoky environment. A vibrant purple trail moves across the screen, forming circular loops, sweeping curves, and abstract patterns that evolve as the animation progresses.

The effect combines a bright neon core with a soft surrounding glow, giving the moving streak a sense of depth. Its fluid transitions shift between structured shapes and unpredictable paths, keeping the background visually engaging without introducing complex geometry.

Designed for creative portfolios, technology brands, music platforms, and experimental websites, Neon Streak adds a distinctive visual atmosphere to hero sections and immersive digital experiences.


Usage Code

page
1import NeonStreak from '@/components/effects/neon-streak'2 3const page = () => {4  return (5    <div className="h-screen w-full">6      <NeonStreak />7    </div>8  )9}10 11export default page

Example Production Use Case

Consider a creative technology studio launching a website to showcase its experimental work. The homepage features a bold headline against a dark background, with Neon Streak moving continuously behind the content.

The luminous trail forms loops and sweeping curves, bringing energy to the composition while the surrounding smoky tones preserve contrast. The animation establishes a futuristic visual identity without relying on conventional illustrations or photography.

The result is a memorable hero section that captures attention while allowing the studio's message and primary call to action to remain prominent.


Best Used For

  • Creative agency websites and experimental portfolios.
  • Futuristic technology and AI landing pages.
  • Music, entertainment, and digital culture websites.
  • Immersive hero sections with dark visual themes.
  • Digital art showcases and interactive experiences.
  • Product launches with bold, motion-led branding.

Not For

Neon Streak is less suitable for content-heavy dashboards, administrative interfaces, and websites where visual simplicity is essential. Its continuous movement can compete with dense text, forms, and frequently used controls.

Avoid pairing it with several other high-intensity animations. The glowing light trail works best as a primary visual element, supported by restrained typography and minimal surrounding movement.


Performance Budget

Keep the animation lightweight by minimising unnecessary redraws, avoiding excessive glow layers, and limiting updates when the background is outside the viewport. Preserve smooth motion without allowing decorative effects to compete with page responsiveness.

For mobile and lower-powered devices, simplify the glow and motion complexity where necessary. Pause continuous movement or use a static frame when reduced motion is preferred.


Accessibility and Mobile

Maintain sufficient contrast between foreground content and the moving neon streak. Keep navigation, headings, and interactive controls accessible independently of the background animation.

On mobile, adapt the composition so the streak remains visible without obscuring important content. Respect prefers-reduced-motion by disabling continuous movement or displaying a static visual.


Common Mistakes

  • Excessive glow that makes the neon trail appear blurry.
  • Overlapping light streaks that create visual clutter.
  • Fast movement that distracts from foreground content.
  • Insufficient contrast between text and animated highlights.
  • Unnecessary animation updates when the effect is offscreen.
  • Poor mobile optimisation that causes inconsistent motion.
  • Missing reduced-motion support or a static fallback.

Changelog

Initial release

API Reference

PropTypeDefaultDescription
backgroundColorcolor#0b0b0bCanvas colour behind the smoke.
huenumber0Turns every colour around the colour wheel, in degrees. 0 is the reference violet.
saturationnumber1Colour strength. 0 is greyscale, 1 matches the reference.
intensitynumber1Overall brightness of the light.
glownumber1How wide the glow spreads around each strand.
smokenumber1How much grey smoke drifts behind the light. 0 leaves the background flat.
grainnumber0.04Film grain strength. 0 turns it off.
thicknessnumber1How thick the bright strands are.
weavenumber1How far the strands weave apart and cross. 0 draws one line.
trailLengthnumber2.6Seconds a streak stays lit before it fades out.
speednumber1How fast the smoke drifts and the strands twist. 0 holds them still.
ringSizenumber0.32Radius of the self-drawn ring, in canvas heights.
interactivebooleantrueLet the pointer draw streaks of light.
autoplaybooleantrueDraw the ring on its own when nobody is moving the pointer.
idleDelaynumber1.2Seconds after the pointer stops before the ring starts drawing itself again.

Questions, Answered.

What is Neon Streak?

Neon Streak is an animated React background where the pointer draws twisting pink-violet light streaks over drifting grey smoke. When nobody is moving the pointer, it draws a neon ring on its own.

How does Neon Streak work?

The pointer's path is laid down as a trail of points, and several strands of light weave along it, crossing and twisting as they go. Each streak fades out after a few seconds. A WebGL2 shader draws the strands' core, glow and halo over a layer of drifting smoke and film grain.

Can Neon Streak be used with Next.js?

Yes. Neon Streak can be integrated into React and Next.js applications using the appropriate client-side animation setup.

Can I customise the neon colour and animation speed?

Yes. Props cover colour (backgroundColor, hue, saturation, intensity, glow), the strands (thickness, weave, trailLength), the smoke and grain, speed, and the idle ring (autoplay, idleDelay, ringSize). Set interactive to false to stop the pointer drawing.

Does Neon Streak require Three.js or WebGL?

No Three.js. Neon Streak is drawn with raw WebGL2 shaders on a single canvas and has no runtime dependencies beyond React. It does need WebGL2: where the browser can't provide it, nothing is drawn and only the background colour shows.

Is Neon Streak suitable for mobile devices?

Yes. It pauses while offscreen or in a hidden tab, caps the canvas pixel ratio, and holds a single still frame when reduced motion is preferred. Keep foreground content readable over the brightest streaks.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Moss Grid
Three.js@react-three/fiber@react-three/postprocessing

Moss Grid

Backgrounds

Dotted Grid Background
canvas

Dotted Grid Background

Backgrounds

Spider Particles Background
Three.js

Spider Particles Background

Backgrounds

Progressive Bloom Valley
Pro
Three.jspostprocessing@react-three/drei

Progressive Bloom Valley

WebGL