Wrapper: @tsparticles/react
Official React wrapper for tsParticles.
Install
bash
pnpm add @tsparticles/react @tsparticles/engine @tsparticles/slimQuick setup flow
- Install wrapper + engine + loader package.
- Initialize once with
ParticlesProviderandloadSlim. - Render
Particlescomponent with typed options.
Monorepo references
- Package folder: https://github.com/tsparticles/tsparticles/tree/main/wrappers/react
- Demo app: https://github.com/tsparticles/tsparticles/tree/main/demo/react
