```
--------------------------------
### Install with yarn
Source: https://particles.js.org/docs/modules/tsParticles_Trail_Effect.html
Install the `@tsparticles/effect-trail` package using yarn.
```bash
$ yarn add @tsparticles/effect-trail
```
--------------------------------
### Install tsParticles with @tsparticles/react and @tsparticles/slim
Source: https://particles.js.org/guides/nextjs
Installs the React wrapper and the slim bundle for smaller build size. Use this alternative if you don't need the full engine.
```bash
npm install @tsparticles/react @tsparticles/slim
```
--------------------------------
### Install with npm
Source: https://particles.js.org/docs/modules/tsParticles_Trail_Effect.html
Install the `@tsparticles/effect-trail` package using npm.
```bash
$ npm install @tsparticles/effect-trail
```
--------------------------------
### Interactivity Modes Configuration Example
Source: https://particles.js.org/docs/documents/tsParticles_Engine.Options_Interactivity_Modes.html
A JSON configuration example demonstrating how to define interactivity events and their corresponding mode parameters.
```json
{
"interactivity": {
"events": {
"onHover": { "enable": true, "mode": "repulse" },
"onClick": { "enable": true, "mode": ["push", "bubble"] }
},
"modes": {
"repulse": {
"distance": 150,
"duration": 0.4,
"speed": 1
},
"push": {
"quantity": 4
},
"bubble": {
"distance": 200,
"size": 20,
"duration": 0.5
}
}
}
}
```
--------------------------------
### Install with yarn
Source: https://particles.js.org/docs/modules/tsParticles_Spiral_Shape.html
Install the @tsparticles/shape-spiral package using yarn.
```bash
$ yarn add @tsparticles/shape-spiral
```
--------------------------------
### Install with npm
Source: https://particles.js.org/docs/modules/tsParticles_Spiral_Shape.html
Install the @tsparticles/shape-spiral package using npm.
```bash
$ npm install @tsparticles/shape-spiral
```
--------------------------------
### Install with yarn
Source: https://particles.js.org/docs/modules/tsParticles_Shadow_Effect.html
Installs the @tsparticles/effect-shadow package using yarn.
```bash
$ yarn add @tsparticles/effect-shadow
```
--------------------------------
### Install with npm
Source: https://particles.js.org/docs/modules/tsParticles_Shadow_Effect.html
Installs the @tsparticles/effect-shadow package using npm.
```bash
$ npm install @tsparticles/effect-shadow
```
--------------------------------
### Install @tsparticles/path-polygon with yarn
Source: https://particles.js.org/docs/modules/tsParticles_Polygon_Path.html
Install the package using yarn.
```bash
$ yarn add @tsparticles/path-polygon
```
--------------------------------
### Dynamic Controls Setup
Source: https://particles.js.org/guides/vanilla
HTML and CSS structure for a control panel to manage particle states, including the necessary script imports for the engine and slim bundle.
```html
Dynamic Controls