syaivoalpha

Particles

Quiet dots float through space, drawing faint connections as they pass. Presence without distraction.

Preview

Usage

import { createParticles } from 'syaivo';

const effect = createParticles({
  color: '#a5f3fc',
  count: 120,
  mouseInteraction: true,
});

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

Options

OptionTypeDefaultDescription
colorstring | string[]"rgba(255,255,255,0.6)"Particle color(s)
backgroundColorstring"transparent"Canvas background
countnumber80Number of particles
minRadiusnumber1Min particle radius (px)
maxRadiusnumber3Max particle radius (px)
maxSpeednumber30Max speed (px/s)
mouseInteractionbooleanfalseEnable mouse repulsion
mouseRadiusnumber100Repulsion radius (px)
animatedbooleantrueEnable animation
respectReducedMotionbooleantrueHonor prefers-reduced-motion

Dynamic Updates

effect.update({ count: 200, color: '#f0abfc' });

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