Skip to content

Wrapper: @tsparticles/react

Official React wrapper for tsParticles.

Install

bash
pnpm add @tsparticles/react @tsparticles/engine @tsparticles/slim

Quick setup flow

  1. Install wrapper + engine + loader package.
  2. Initialize once with ParticlesProvider and loadSlim.
  3. Render Particles component with typed options.

Monorepo references

Readme