❤️ Support our project - Your donation helps us continue developing awesome tools!


Docs
Particles

Particles

Particles are a fun way to add some visual flair to your website. They can be used to create a sense of depth, movement, and interactivity.

Particles

Installation

npx nyxb@latest add particles

Props

PropTypeDescriptionDefault
classNamestringThe class name for the component-
quantitynumberThe number of particles100
staticitynumberThe staticity of the particles50
easenumberThe ease of the particles50
sizenumberThe size of the particles0.4
refreshbooleanWhether to refresh the particlesfalse
colorstringThe color of the particles#ffffff
vxnumberThe x velocity of the particles0
vynumberThe y velocity of the particles0