Options

property option type example notes
autoPlay boolean true / false
background object See Background options here IBackground
backgroundMask object See Background Mask options here IBackgroundMask
detectRetina boolean true / false Replaces the old retina_detect property
duration number / range 60 / { min: 30, max: 90 } The particles effect duration in seconds
fpsLimit number 60 Defaults to 60, replaces the old fps_limit property
fullScreen object / boolean IFullScreen or true / false See Full Screen options here IFullScreen
interactivity object See Interactivity options here IInteractivity
manualParticles array An array of Manual Particles object. See Manual Particles documentation here IManualParticle
motion object See Motion options here IMotion here
particles object See Particles options here IParticlesOptions
pauseOnBlur boolean true / false Pauses the animations when the page isn't on foreground
pauseOnOutsideViewport boolean true / false Pauses the animations when the element is out of the viewport
preset string / array "basic"
[ "links", "confetti" ]
You can use this property to load one or more presets for focusing on important properties and not all config. You can find presets on npm here
responsive array See Responsive options here IResponsive
themes array It's an array of Theme object, you can see the structure here ITheme

These options are not part of the slim bundle

property option type example notes
absorbers object / array See Absorbers options here IAbsorber
emitters object / array See Emitter options here IEmitter
polygonMask object See Particles options here IPolygonMask