react-particles-js (particle effects)

1. Install

npm install react-particles-js || yarn add react-particles-js

2引入+使用

     1.引入:import Particles from "react-particles-js";

 
 

2. use

3. Use effect


给大家分享网址tsParticles | JavaScript Particles animations for your websitetsParticles - Easily create highly customizable particles animations and use them as animated backgrounds for your website. Ready to use components available for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno.https://particles.js.org/samples/index.html#background

Here you can choose the specified configuration items according to your needs.

Configure and export

Put the copied content into params

 

 

Guess you like

Origin blog.csdn.net/echozly/article/details/122296158