syaivoalpha

Mesh Gradient

Organic color fields blend and shift in slow motion. Bold gradients that feel like they breathe.

Preview

Usage

import { createMeshGradient } from 'syaivo';

const effect = createMeshGradient({
  backgroundColor: '#0a0a0a',
  points: 6,
  distortion: 0.4,
  speed: 0.2,
});

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

Options

OptionTypeDefaultDescription
colorsstring[]Vibrant paletteColors for mesh control points
backgroundColorstring"#0a0a0a"Canvas background
pointsnumber6Number of control points
distortionnumber0.4How far points drift from base (0–1)
speednumber0.2Animation speed multiplier
animatedbooleantrueEnable animation
respectReducedMotionbooleantrueHonor prefers-reduced-motion

Dynamic Updates

effect.update({ points: 8, distortion: 0.6 });

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