tsparticles/presets

tsParticles Official Presets Repository

TypeScript

28

347 commits

updated Apr 15, 2026

See the code

README

banner

tsParticles Presets

Official presets and palettes to use tsParticles in minutes without starting from an empty configuration.

Discord Telegram Reddit

Buy Me A Coffee Linktree

Why presets

  • Reduce setup time: install and load a ready-to-use effect
  • Start from a concrete visual baseline and customize only what you need
  • Keep a standard, tested base for websites, landing pages, and apps

Quick Start

Installation

pnpm add @tsparticles/engine @tsparticles/slim @tsparticles/preset-stars

Register and use

import { tsParticles } from "@tsparticles/engine";
import { loadSlim } from "@tsparticles/slim";
import { loadStarsPreset } from "@tsparticles/preset-stars";

await loadSlim(tsParticles);
await loadStarsPreset(tsParticles);

await tsParticles.load({
  id: "tsparticles",
  options: {
    preset: "stars",
  },
});

Quick checklist

  1. Install @tsparticles/engine plus one bundle (@tsparticles/slim recommended)
  2. Register the preset loader before tsParticles.load(...)
  3. Start from one preset and then merge your custom options

Choose your quick-start path

  • I want the smallest setup first: use @tsparticles/slim + one preset package
  • I want to test many presets quickly: use tsparticles and register only the presets you need
  • I already have options and need only colors: use a palette package and keep your current behavior settings

Preset or Palette?

  • Preset: defines complete behavior (movement, interactions, style)
  • Palette: mainly defines reusable color combinations

If you need a complete effect quickly, use a preset. If you already have a config and only want a color direction, use a palette.

Main preset catalog

PresetPackageDemoREADME
Ambient@tsparticles/preset-ambienthttps://particles.js.org/samples/presets/ambienthttps://github.com/tsparticles/presets/blob/main/presets/ambient/README.md
Big Circles@tsparticles/preset-big-circleshttps://particles.js.org/samples/presets/bigCircleshttps://github.com/tsparticles/presets/blob/main/presets/bigCircles/README.md
Bubbles@tsparticles/preset-bubbleshttps://particles.js.org/samples/presets/bubbleshttps://github.com/tsparticles/presets/blob/main/presets/bubbles/README.md
Confetti@tsparticles/preset-confettihttps://particles.js.org/samples/presets/confettihttps://github.com/tsparticles/presets/blob/main/presets/confetti/README.md
Confetti Cannon@tsparticles/preset-confetti-cannonhttps://particles.js.org/samples/presets/confettiCannonhttps://github.com/tsparticles/presets/blob/main/presets/confettiCannon/README.md
Confetti Explosions@tsparticles/preset-confetti-explosionshttps://particles.js.org/samples/presets/confettiExplosionshttps://github.com/tsparticles/presets/blob/main/presets/confettiExplosions/README.md
Confetti Falling@tsparticles/preset-confetti-fallinghttps://particles.js.org/samples/presets/confettiFallinghttps://github.com/tsparticles/presets/blob/main/presets/confettiFalling/README.md
Confetti Parade@tsparticles/preset-confetti-paradehttps://particles.js.org/samples/presets/confettiParadehttps://github.com/tsparticles/presets/blob/main/presets/confettiParade/README.md
Fire@tsparticles/preset-firehttps://particles.js.org/samples/presets/firehttps://github.com/tsparticles/presets/blob/main/presets/fire/README.md
Firefly@tsparticles/preset-fireflyhttps://particles.js.org/samples/presets/fireflyhttps://github.com/tsparticles/presets/blob/main/presets/firefly/README.md
Fireworks@tsparticles/preset-fireworkshttps://particles.js.org/samples/presets/fireworkshttps://github.com/tsparticles/presets/blob/main/presets/fireworks/README.md
Fountain@tsparticles/preset-fountainhttps://particles.js.org/samples/presets/fountainhttps://github.com/tsparticles/presets/blob/main/presets/fountain/README.md
Hyperspace@tsparticles/preset-hyperspacehttps://particles.js.org/samples/presets/hyperspacehttps://github.com/tsparticles/presets/blob/main/presets/hyperspace/README.md
Links@tsparticles/preset-linkshttps://particles.js.org/samples/presets/linkshttps://github.com/tsparticles/presets/blob/main/presets/links/README.md
Matrix@tsparticles/preset-matrixhttps://particles.js.org/samples/presets/matrixhttps://github.com/tsparticles/presets/blob/main/presets/matrix/README.md
Sea Anemone@tsparticles/preset-sea-anemonehttps://particles.js.org/samples/presets/seaAnemonehttps://github.com/tsparticles/presets/blob/main/presets/seaAnemone/README.md
Snow@tsparticles/preset-snowhttps://particles.js.org/samples/presets/snowhttps://github.com/tsparticles/presets/blob/main/presets/snow/README.md
Squares@tsparticles/preset-squareshttps://particles.js.org/samples/presets/squareshttps://github.com/tsparticles/presets/blob/main/presets/squares/README.md
Stars@tsparticles/preset-starshttps://particles.js.org/samples/presets/starshttps://github.com/tsparticles/presets/blob/main/presets/stars/README.md
Triangles@tsparticles/preset-triangleshttps://particles.js.org/samples/presets/triangleshttps://github.com/tsparticles/presets/blob/main/presets/triangles/README.md

Palettes repository

Palettes are now maintained in a dedicated repository:

Use this repository for preset packages only.

Framework integration

Presets work with the core library and official wrappers (React, Vue, Angular, Svelte, etc.).

General guides:

Common pitfalls

  • Register the preset loader before calling tsParticles.load(...)
  • Use the same id value in your HTML container and load call
  • Do not assume every preset is included in every bundle; import the specific preset package
  • Start from a single preset, then merge custom options incrementally

Support

If you need a new preset or want to contribute:

  • open an issue or pull request in this repository
  • include screenshots/GIFs and a config snippet to speed up review
tsparticles

tsparticles/presets

tsParticles Official Presets Repository

TypeScript

28

347 commits

updated Apr 15, 2026

See the code

README

banner

tsParticles Presets

Official presets and palettes to use tsParticles in minutes without starting from an empty configuration.

Discord Telegram Reddit

Buy Me A Coffee Linktree

Why presets

  • Reduce setup time: install and load a ready-to-use effect
  • Start from a concrete visual baseline and customize only what you need
  • Keep a standard, tested base for websites, landing pages, and apps

Quick Start

Installation

pnpm add @tsparticles/engine @tsparticles/slim @tsparticles/preset-stars

Register and use

import { tsParticles } from "@tsparticles/engine";
import { loadSlim } from "@tsparticles/slim";
import { loadStarsPreset } from "@tsparticles/preset-stars";

await loadSlim(tsParticles);
await loadStarsPreset(tsParticles);

await tsParticles.load({
  id: "tsparticles",
  options: {
    preset: "stars",
  },
});

Quick checklist

  1. Install @tsparticles/engine plus one bundle (@tsparticles/slim recommended)
  2. Register the preset loader before tsParticles.load(...)
  3. Start from one preset and then merge your custom options

Choose your quick-start path

  • I want the smallest setup first: use @tsparticles/slim + one preset package
  • I want to test many presets quickly: use tsparticles and register only the presets you need
  • I already have options and need only colors: use a palette package and keep your current behavior settings

Preset or Palette?

  • Preset: defines complete behavior (movement, interactions, style)
  • Palette: mainly defines reusable color combinations

If you need a complete effect quickly, use a preset. If you already have a config and only want a color direction, use a palette.

Main preset catalog

PresetPackageDemoREADME
Ambient@tsparticles/preset-ambienthttps://particles.js.org/samples/presets/ambienthttps://github.com/tsparticles/presets/blob/main/presets/ambient/README.md
Big Circles@tsparticles/preset-big-circleshttps://particles.js.org/samples/presets/bigCircleshttps://github.com/tsparticles/presets/blob/main/presets/bigCircles/README.md
Bubbles@tsparticles/preset-bubbleshttps://particles.js.org/samples/presets/bubbleshttps://github.com/tsparticles/presets/blob/main/presets/bubbles/README.md
Confetti@tsparticles/preset-confettihttps://particles.js.org/samples/presets/confettihttps://github.com/tsparticles/presets/blob/main/presets/confetti/README.md
Confetti Cannon@tsparticles/preset-confetti-cannonhttps://particles.js.org/samples/presets/confettiCannonhttps://github.com/tsparticles/presets/blob/main/presets/confettiCannon/README.md
Confetti Explosions@tsparticles/preset-confetti-explosionshttps://particles.js.org/samples/presets/confettiExplosionshttps://github.com/tsparticles/presets/blob/main/presets/confettiExplosions/README.md
Confetti Falling@tsparticles/preset-confetti-fallinghttps://particles.js.org/samples/presets/confettiFallinghttps://github.com/tsparticles/presets/blob/main/presets/confettiFalling/README.md
Confetti Parade@tsparticles/preset-confetti-paradehttps://particles.js.org/samples/presets/confettiParadehttps://github.com/tsparticles/presets/blob/main/presets/confettiParade/README.md
Fire@tsparticles/preset-firehttps://particles.js.org/samples/presets/firehttps://github.com/tsparticles/presets/blob/main/presets/fire/README.md
Firefly@tsparticles/preset-fireflyhttps://particles.js.org/samples/presets/fireflyhttps://github.com/tsparticles/presets/blob/main/presets/firefly/README.md
Fireworks@tsparticles/preset-fireworkshttps://particles.js.org/samples/presets/fireworkshttps://github.com/tsparticles/presets/blob/main/presets/fireworks/README.md
Fountain@tsparticles/preset-fountainhttps://particles.js.org/samples/presets/fountainhttps://github.com/tsparticles/presets/blob/main/presets/fountain/README.md
Hyperspace@tsparticles/preset-hyperspacehttps://particles.js.org/samples/presets/hyperspacehttps://github.com/tsparticles/presets/blob/main/presets/hyperspace/README.md
Links@tsparticles/preset-linkshttps://particles.js.org/samples/presets/linkshttps://github.com/tsparticles/presets/blob/main/presets/links/README.md
Matrix@tsparticles/preset-matrixhttps://particles.js.org/samples/presets/matrixhttps://github.com/tsparticles/presets/blob/main/presets/matrix/README.md
Sea Anemone@tsparticles/preset-sea-anemonehttps://particles.js.org/samples/presets/seaAnemonehttps://github.com/tsparticles/presets/blob/main/presets/seaAnemone/README.md
Snow@tsparticles/preset-snowhttps://particles.js.org/samples/presets/snowhttps://github.com/tsparticles/presets/blob/main/presets/snow/README.md
Squares@tsparticles/preset-squareshttps://particles.js.org/samples/presets/squareshttps://github.com/tsparticles/presets/blob/main/presets/squares/README.md
Stars@tsparticles/preset-starshttps://particles.js.org/samples/presets/starshttps://github.com/tsparticles/presets/blob/main/presets/stars/README.md
Triangles@tsparticles/preset-triangleshttps://particles.js.org/samples/presets/triangleshttps://github.com/tsparticles/presets/blob/main/presets/triangles/README.md

Palettes repository

Palettes are now maintained in a dedicated repository:

Use this repository for preset packages only.

Framework integration

Presets work with the core library and official wrappers (React, Vue, Angular, Svelte, etc.).

General guides:

Common pitfalls

  • Register the preset loader before calling tsParticles.load(...)
  • Use the same id value in your HTML container and load call
  • Do not assume every preset is included in every bundle; import the specific preset package
  • Start from a single preset, then merge custom options incrementally

Support

If you need a new preset or want to contribute:

  • open an issue or pull request in this repository
  • include screenshots/GIFs and a config snippet to speed up review
tsparticles