@tsparticles/configs
| Install | |
|---|---|
npm install @tsparticles/configs |
|
| Latest Version: | 4.4.0 |
| License: | MIT |
| Last Updated: | Oct 22, 2026 |
| Links: | GitHub · npm |
tsParticles Demo Configs
Quick checklist
- Install
@tsparticles/configsand@tsparticles/engine - Import one config preset (for example
configs.basic) - Pass that config to
tsParticles.load(...)
Installation
npm install --save-dev @tsparticles/configs
or
yarn add --dev @tsparticles/configs
or
pnpm add --save-dev @tsparticles/configs
CDN
<script src="https://cdn.jsdelivr.net/npm/@tsparticles/engine/tsparticles.engine.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tsparticles/configs/tsparticles.configs.min.js"></script>
Usage
JavaScript
import { tsParticles } from "@tsparticles/engine"; // not needed with CDN
import * as configs from "@tsparticles/configs"; // not needed with CDN
(async () => {
await tsParticles.load({ id: "tsparticles", options: configs.basic });
})();
TypeScript
import { tsParticles } from "@tsparticles/engine";
import * as configs from "@tsparticles/configs";
(async () => {
await tsParticles.load({ id: "tsparticles", options: configs.basic });
})();
Plugins
Some configs need plugins to work, they are not installed with this library.
This library contains only the config files, the plugins must be installed separately.
Common pitfalls
- Using a config that requires plugins without loading those plugins first
- Assuming this package bundles runtime plugins (it only exports config objects)
- Mixing config objects from different versions without checking option compatibility
Related docs
- Main docs: https://particles.js.org/docs/
- Root options guide: https://github.com/tsparticles/tsparticles/blob/main/markdown/Options.md
- Repository README: https://github.com/tsparticles/tsparticles/blob/main/README.md
Related Packages
Easily create highly customizable particle, confetti and fireworks animations an...
Basic tsParticles bundle — minimal core engine with only the essential features...
Slim tsParticles bundle — core engine with essential plugins, presets, and inter...
Full-featured tsParticles bundle — create stunning particle, confetti and firewo...
tsParticles confetti bundle — easily create confetti, confetti cannon, confetti...
Version History
| Version | Released | License |
|---|---|---|
| 4.4.0 | MIT | |
| 4.3.2 | MIT | |
| 4.3.1 | MIT | |
| 4.3.0 | MIT | |
| 4.2.1 | MIT | |
| 4.2.0 | MIT | |
| 4.1.3 | MIT | |
| 4.1.2 | MIT | |
| 4.1.1 | MIT | |
| 4.1.0 | MIT | |
| 4.0.5 | MIT | |
| 4.0.4 | MIT | |
| 4.0.3 | MIT | |
| 4.0.2 | MIT | |
| 4.0.1 | MIT | |
| 4.0.0 | MIT | |
| 3.9.1 | MIT | |
| 3.9.0 | MIT | |
| 3.8.1 | MIT | |
| 3.8.0 | MIT | |
| 3.7.3 | MIT | |
| 3.7.2 | MIT | |
| 3.7.1 | MIT | |
| 3.7.0 | MIT | |
| 3.6.0 | MIT | |
| 3.5.0 | MIT | |
| 3.4.0 | MIT | |
| 3.3.0 | MIT | |
| 3.2.2 | MIT | |
| 3.2.1 | MIT |
Showing the latest 30 of 36. See every release on npm
Pre-releases (44)
| Version | Released | License |
|---|---|---|
| 4.0.0-beta.17 | MIT | |
| 4.0.0-beta.16 | MIT | |
| 4.0.0-beta.15 | MIT | |
| 4.0.0-beta.12 | MIT | |
| 4.0.0-beta.11 | MIT | |
| 4.0.0-beta.10 | MIT | |
| 4.0.0-beta.9 | MIT | |
| 4.0.0-beta.8 | MIT | |
| 4.0.0-beta.6 | MIT | |
| 4.0.0-beta.5 | MIT | |
| 4.0.0-beta.4 | MIT | |
| 4.0.0-beta.3 | MIT | |
| 4.0.0-beta.2 | MIT | |
| 4.0.0-beta.1 | MIT | |
| 4.0.0-beta.0 | MIT | |
| 4.0.0-alpha.28 | MIT | |
| 4.0.0-alpha.27 | MIT | |
| 4.0.0-alpha.26 | MIT | |
| 4.0.0-alpha.25 | MIT | |
| 4.0.0-alpha.24 | MIT | |
| 4.0.0-alpha.23 | MIT | |
| 4.0.0-alpha.22 | MIT | |
| 4.0.0-alpha.21 | MIT | |
| 4.0.0-alpha.20 | MIT | |
| 4.0.0-alpha.18 | MIT | |
| 4.0.0-alpha.17 | MIT | |
| 4.0.0-alpha.16 | MIT | |
| 4.0.0-alpha.15 | MIT | |
| 4.0.0-alpha.14 | MIT | |
| 4.0.0-alpha.8 | MIT |
Showing the latest 30 of 44. See every release on npm
