Cyber Diffusion
Neon glow effect with blurred lines creating a cyberpunk aesthetic.
Main Features of Cyber Diffusion
How to Use Cyber Diffusion in Next.js
Installation Guide for Cyber Diffusion
Props
Customize the component with these props
| Property | Type | Default | Description |
|---|---|---|---|
backgroundColor | string | #000000 | Background color |
radialGradientFrom | string | #0f172a | Radial gradient start color |
radialGradientVia | string | #000000 | Radial gradient middle color |
radialGradientTo | string | #000000 | Radial gradient end color |
radialOpacity | number | 0.8 | Radial gradient opacity |
beamAngles | number[] | [0, 45, 90, 135] | Angles for beam layers |
beamColor | string | #06b6d4 | Beam color |
beamWidth | string | 150% | Beam width |
beamBlur | string | xl | Beam blur amount |
beamOpacity | number[] | [0.4, 0.8, 0.4] | Beam opacity animation values |
beamBaseOpacity | number | 0.6 | Base beam opacity |
beamDuration | number | 3 | Beam animation duration |
layer2Angles | number[] | [0, 45, 90, 135] | Angles for second layer |
layer2Color | string | #9333ea | Second layer color |
layer2Width | string | 150% | Second layer width |
layer2Height | string | 8rem | Second layer height |
layer2Blur | string | 80px | Second layer blur |
layer2Opacity | number | 0.3 | Second layer opacity |
layer2Offset | number | 20 | Second layer angle offset |
noiseUrl | string | https://grainy-gradients.vercel.app/noise.svg | Noise texture URL |
noiseOpacity | number | 0.2 | Noise overlay opacity |
text | string | Neon | Text label |
textColor | string | rgba(255, 255, 255, 0.9) | Text color |
className | string | Additional CSS classes |
Related Components
Interstellar Fluid Hero
Interactive fluid simulation creating cosmic nebula effects with mouse interaction. Deep space aesthetic with animated gas clouds and star trails.
Interstellar Background Hero
Warp tunnel effect simulating high-velocity travel through nebular clusters. Procedural WebGL engine with mouse-responsive space distortion.
Liquid Chrome Hero
Procedural simulation of molten chrome alloys with velocity-based distortion. Interactive liquid metal surface with specular highlights.
When to Use
Best Practices
Why This Component Matters in Modern UI Development
Frequently Asked Questions
QCan I change the beam angles?
Yes, the `beamAngles` prop accepts an array of numbers representing degrees for each light source.
QDoes it support different neon colors?
Absolutely, you can set separate colors for the primary beams and the secondary diffusion layers.
QIs it readable?
The beams are diffused with heavy blur, making them surprisingly good backdrops for large, bold typography.
