Wrapper: @tsparticles/stencil
Official Stencil wrapper for tsParticles.
Install
bash
pnpm add @tsparticles/stencil @tsparticles/engine @tsparticles/slimQuick setup flow
- Install wrapper + engine + loader package.
- Register Stencil custom elements once using
@tsparticles/stencil/loader. - Render
<stencil-particles />and passinit+options(orurl).
Monorepo references
- Package folder: https://github.com/tsparticles/tsparticles/tree/main/wrappers/stencil
- Demo app: https://github.com/tsparticles/tsparticles/tree/main/demo/stencil
