Light Leak

Vintage warm light leak effect with animated color blobs and film grain.

Main Features of Light Leak

How to Use Light Leak in Next.js

Installation Guide for Light Leak

Props

Customize the component with these props

PropertyTypeDefaultDescription
backgroundColor
string#1c1917Background color
leak1Color
string#f97316First leak color
leak1Size
string70%First leak size
leak1Blur
string150pxFirst leak blur
leak1Opacity
number0.4First leak opacity
leak1Position
string-top-[20%] -left-[10%]First leak position
leak1Scale
number[][1, 1.1, 1]First leak scale animation
leak1Rotate
number[][0, 10, 0]First leak rotation animation
leak1Duration
number15First leak animation duration
leak2Color
string#dc2626Second leak color
leak2Size
string60%Second leak size
leak2Blur
string180pxSecond leak blur
leak2Opacity
number0.3Second leak opacity
leak2Position
stringtop-[40%] -right-[20%]Second leak position
leak2Scale
number[][1, 1.2, 1]Second leak scale animation
leak2TranslateX
number[][0, -50, 0]Second leak X translation
leak2Duration
number20Second leak animation duration
leak3Color
string#ca8a04Third leak color
leak3Size
string50%Third leak size
leak3Blur
string120pxThird leak blur
leak3Opacity
number0.2Third leak opacity
leak3Position
stringbottom-[-20%] left-[20%]Third leak position
leak3TranslateY
number[][0, -30, 0]Third leak Y translation
leak3Duration
number12Third leak animation duration
overlayColor
string#292524Overlay color
overlayOpacity
number0.2Overlay opacity
noiseOpacity
number0.35Noise overlay opacity
noiseBaseFrequency
string0.8Noise base frequency
noiseOctaves
number3Noise octaves
text
stringLeakText label
textColor
stringrgba(255, 255, 255, 0.9)Text color
className
stringAdditional CSS classes

When to Use

Perfect for vintage branding, photography-centric sites, and Next.js experiences that want a 'dreamy' or analog feel. Use this React component for a warm 'light leak' effect that mimics the look of old film cameras with animated color glows.

Best Practices

Follow React best practices by using warm oranges and deep reds. Maintain scalable component architecture by pairing this with serif typography and grainy images. Optimize for performance by using slow, hardware-accelerated color transitions.

Why This Component Matters in Modern UI Development

Light leaks add a layer of human emotion and nostalgia to digital products. This production-ready component helpsคุณ build an interface that feels nostalgic and warm, improving the personality of your project.

Frequently Asked Questions

QCan I adjust the leak color?

Yes, you can fully customize the 3 independent leak sources to range from sunset orange to cool sunset blues.

QHow 'grainy' is the effect?

The grain intensity is adjustable via the `noiseOpacity` prop, allowing for a clean modern look or a heavy retro feel.

QIs it mobile responsive?

Yes, the leak positions and scales are responsive to ensure the 'glow' always hits the right spots on smaller screens.

Light Leak - React Blur & Glassmorphism Effects | Uilora