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/Opal Flow

Opal Flow

A fluid animated background where iridescent waves of pink, lavender, and cyan blend into flowing, pearlescent gradients that continuously shift and reshape.

WebGL Shader
DemoDemoDemo

Tune the Real Props

Ground

The periwinkle ground.

Wisps

The cyan wisps.

Ribbon

The pink ribbon.

Highlight

The warm centre of the ribbon.

Overview

Opal Flow transforms the screen into a continuously evolving surface of soft, iridescent colours. Pastel pink, luminous cyan, and violet gradients flow into one another, forming smooth curves and liquid-like waves reminiscent of light reflecting across an opal gemstone.

The animation combines diffused colour transitions with subtle highlights and flowing contours. As the gradients fold and reshape, they create an illusion of depth and movement without conventional particles, geometric patterns, or distinct objects.

Designed for creative portfolios, premium brands, and contemporary digital experiences, Opal Flow brings a refined, atmospheric quality to fullscreen backgrounds. Its soft colour palette and continuous movement make it particularly effective for visually expressive websites.


Usage Code

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

Example Production Use Case

Consider a premium skincare brand launching a new collection. The homepage opens with a minimal headline over Opal Flow, where soft pink, lavender, and cyan gradients move gently across the screen.

The pearlescent animation evokes the appearance of fluid textures and reflective surfaces, complementing the brand's focus on softness and refinement. Its smooth transitions create visual interest without relying on conventional product photography in the hero section.

The result is an elegant landing page that establishes a distinctive visual identity while keeping the product message prominent.


Best Used For

  • Premium beauty, skincare, and lifestyle websites.
  • Creative agency portfolios and digital studios.
  • Fashion and editorial landing pages.
  • Immersive hero sections with pastel aesthetics.
  • Contemporary product launches and brand campaigns.
  • Digital art showcases and experimental websites.
  • Wellness and luxury-inspired digital experiences.

Not For

Opal Flow is less suitable for dense dashboards, administrative interfaces, and content-heavy pages where continuously changing gradients may compete with important information. Its bright pastel tones can also reduce text readability without appropriate contrast treatments.

Avoid combining it with several other prominent background animations. The effect works best as a primary visual element, supported by minimal typography and restrained interaction.


Performance Budget

Keep gradient movement and colour transitions efficient, avoiding unnecessary rendering updates or excessive visual processing. The animation should remain fluid without compromising page responsiveness.

On mobile and lower-powered devices, simplify rendering complexity where necessary. Pause decorative animation when offscreen and provide a static alternative for reduced-motion preferences.


Accessibility and Mobile

Maintain sufficient contrast between foreground content and the shifting pastel gradients. Dark text, carefully placed overlays, or dedicated content surfaces can help preserve readability across brighter areas.

On mobile, adapt the composition so flowing colours remain balanced within smaller viewports. Respect prefers-reduced-motion by pausing the animation or displaying a static gradient.


Common Mistakes

  • Excessive colour saturation that removes the soft opalescent appearance.
  • Abrupt gradient transitions that disrupt the fluid movement.
  • Heavy blur effects that make the visual appear muddy.
  • Poor contrast between text and bright pastel regions.
  • Too many competing colours that weaken the composition.
  • Unnecessary animation updates when the effect is offscreen.
  • Poor mobile optimisation that causes inconsistent movement.
  • Missing reduced-motion support or a static fallback.

Changelog

Initial release

API Reference

PropTypeDefaultDescription
baseColorcolor#6a6cf6The periwinkle ground.
wispColorcolor#8de0f1The cyan wisps.
ribbonColorcolor#fb9ce8The pink ribbon.
highlightColorcolor#fccbbfThe warm centre of the ribbon.
huenumber0Turns every colour around the colour wheel, in degrees. 0 is the reference palette.
saturationnumber1Colour strength. 0 is greyscale, 1 matches the reference.
grainnumber0.025Film grain strength. 0 turns it off.
speednumber1How fast the paint flows. 0 holds it still.
flownumber1How far the paint folds and curls.
detailnumber1How strongly the cyan wisps are combed into fine streaks.
interactivebooleantrueLet the pointer stir the paint like ink in water.
smearStrengthnumber1How far a stroke drags the paint.
smearRadiusnumber0.1Width of the stroke, in canvas heights.

Questions, Answered.

What is Opal Flow?

Opal Flow is an animated React background featuring flowing pastel gradients that blend pink, lavender, violet, and cyan into a continuously changing, iridescent composition.

How does Opal Flow work?

A WebGL2 shader paints a periwinkle ground with a pink ribbon and cyan wisps folded through it. Each colour is a band of one flowing coordinate, so they slide past each other like oil on water. Moving the pointer smears the paint like ink in water.

Can Opal Flow be used with Next.js?

Yes. Opal Flow can be integrated into React and Next.js applications using an appropriate client-side animation setup.

Does Opal Flow require Three.js or WebGL?

No Three.js. Opal Flow 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.

Can I customise the colours and animation speed?

Yes. Props cover the four colours (baseColor, wispColor, ribbonColor, highlightColor), hue and saturation, grain, speed, flow and detail, and the pointer smear (interactive, smearStrength, smearRadius).

Is Opal Flow 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.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Aurora Ribbon
WebGL Shader

Aurora Ribbon

Backgrounds

Arc Light
WebGL Shader

Arc Light

Backgrounds

Neon Streak
Pro
WebGL Shader

Neon Streak

Backgrounds

Creepy Background
Pro
Three.js

Creepy Background

Backgrounds