syaivoalpha

Liquid Silk

Iridescent folds of light ripple across a dark surface like oil on water. Smooth, reflective, and endlessly shifting.

Preview

Usage

import { createLiquidSilk } from 'syaivo';

const effect = createLiquidSilk({
  colors: ['#00e5ff', '#d500f9', '#0a1a5c', '#00d4aa', '#f050ff'],
  scale: 1.2,
  specular: 0.65,
  speed: 1,
});

effect.mount(document.getElementById('hero')!);

Options

OptionTypeDefaultDescription
backgroundColorstring"#020208"Background color
colorsstring[]neon cyan, magenta, deep blueIridescent color stops
scalenumber1.2Noise scale — higher = more folds
normalStrengthnumber1.4Normal strength — higher = sharper ridges
specularnumber0.65Specular intensity
shininessnumber16Specular exponent
ambientnumber0.1Ambient light (0–1)
diffusenumber0.55Diffuse light (0–1)
blurnumber0Blur radius in px (0 = no blur)
grainnumber0Film grain intensity (0–1)
speednumber1Speed multiplier
opacitynumber1Global opacity
animatedbooleantrueEnable animation
respectReducedMotionbooleantrueHonor prefers-reduced-motion

Dynamic Updates

effect.update({ scale: 2, specular: 0.9 });

Example

Introducing your product

Build something
people remember

A polished experience starts with the details. Ship interfaces that feel considered from the first pixel.

Get startedDocumentation

On this page