Skip to content

Wrapper: @tsparticles/angular

Official Angular wrapper (<ngx-particles />) for tsParticles.

Install

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

Quick setup flow

  1. Register NgParticlesService once in app startup.
  2. Load features with loadSlim(engine).
  3. Render <ngx-particles [id] [options] /> in templates.

Monorepo references

Readme