Deep Ocean Bokeh

Cinematic dark bokeh effect with floating particles creating an underwater atmosphere.

Main Features of Deep Ocean Bokeh

How to Use Deep Ocean Bokeh in Next.js

Installation Guide for Deep Ocean Bokeh

Props

Customize the component with these props

PropertyTypeDefaultDescription
backgroundColor
string#020617Background color of the component
bokehCount
number15Number of bokeh particles
color1
string#0ea5e9Primary bokeh color
color2
string#10b981Secondary bokeh color
minSize
number50Minimum size of bokeh particles
maxSize
number150Maximum size of bokeh particles
minBlur
number10Minimum blur amount
maxBlur
number30Maximum blur amount
minOpacity
number0.1Minimum opacity of particles
maxOpacity
number0.4Maximum opacity of particles
minDuration
number15Minimum animation duration
maxDuration
number25Maximum animation duration
maxDelay
number10Maximum delay for particle animations
gradientFrom
string#020617Gradient start color
gradientVia
stringtransparentGradient middle color
gradientTo
stringrgba(2, 6, 23, 0.8)Gradient end color
noiseOpacity
number0.15Opacity of noise overlay
noiseBaseFrequency
string0.8Base frequency for noise filter
noiseOctaves
number3Number of octaves for noise
text
stringSubmergeText label to display
textColor
stringrgba(255, 255, 255, 0.9)Color of the text label
className
stringAdditional CSS classes

When to Use

Excellent for immersive landing pages, cinematic brand intros, and Next.js applications that want an underwater or deep-space feel. Use this React component for a soft, dark bokeh effect that feels deep and multi-layered with its floating particles.

Best Practices

Maintain scalable component architecture by keeping foreground text bright and readable. Follow React best practices by pairing this with dark-themed layouts. Optimize for performance in large-scale applications by adjusting the `bokehCount` for mobile views.

Why This Component Matters in Modern UI Development

Bokeh effects add professional cinematic depth to web interfaces. This production-ready component helpsคุณ build an interface that feels robust and atmospheric, adding semantic authority to your project's digital architecture.

Frequently Asked Questions

QIs the bokeh interactive?

The particles move on a predefined orbital path for a cinematic feel, but they can be easily adapted to react to mouse movement.

QCan I use different colors?

Yes, you can fully customize the bokeh palette using `color1` and `color2` props to match your brand's theme.

QDoes it support noise overlay?

Yes, it includes an integrated SVG noise filter to add a film-grain texture and prevent color banding.

Deep Ocean Bokeh - React Blur & Glassmorphism Effects | Uilora