Launched January 3, 2023
tsParticles

tsParticles

Easily create highly customizable JavaScript particles effects, confetti explosions and fireworks animations and use them as animated backgrounds for your website. Ready to use components available for React.js, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno, Solid, Riot and Web Components.

FreeUI Library19,540 impressions#46 of its week1 comment

Comments

>log in to comment
  • Devluc· 3y ago

    Fun resource. Can definitely make web pages more entertaining. Supported. Great work and good luck with the launch

Easily create highly customizable JavaScript particles effects, confetti explosions and fireworks animations and use them as animated backgrounds for your website. Ready to use components available for React.js, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno, Solid, Riot and Web Components.

tsParticles is a JavaScript engine for creating customizable particle effects, confetti, and fireworks as animated backgrounds.

for
Web developers who need interactive visual effects across any front-end framework.
pricing
open source
license
MIT
tsparticles/tsparticles 9.0k 945TypeScriptupdated 21 days ago
works withReactAngularSvelteSolidWeb ComponentsjQueryPreactInfernoRiotVanilla JavaScript

Key features

6 features of tsParticles
  • Fast onboarding — Start with a minimal setup and expand to presets, plugins, and custom shapes.
  • Framework ready — Official wrappers for React, Vue, Angular, Svelte, Solid, Web Components, and vanilla JS.
  • Bundle size control — Choose between @tsparticles/basic, @tsparticles/slim, tsparticles, or @tsparticles/all.
  • Focused APIs — One-call modules like @tsparticles/particles, @tsparticles/confetti, @tsparticles/fireworks, and @tsparticles/ribbons.
  • Playground & demos — Live playground to edit JSON and copy ready-to-use recipes for production.
  • Migration tools — Guides to migrate from older tsParticles versions and from particles.js.

Use cases

  • Add interactive particle backgrounds to landing pages.
  • Trigger confetti explosions on user actions such as form submissions.
  • Display fireworks animations for celebrations or events.
  • Create custom shape particles for branding or visual storytelling.
  • Integrate lightweight particle effects into single-page applications.

tsParticles vs alternatives

tsParticlestsParticles ConfettiBuouUISVG BackgroundsBootstrap
Best forCustomizable particle animationsConfetti explosionsSimple copy-paste animationsStatic SVG graphicsUI components and layout
PricingOpen sourceFreeSubscriptionFreeFree
DevHunt upvotes161310920
LaunchedJan 2023Jan 2023Dec 2024Jun 2025May 2024

tsParticles FAQ

How do I start using tsParticles?+

Install via npm or CDN, import the desired package, and follow the Getting Started guide to render a minimal particle effect in under 5 minutes.

Which package should I choose for production?+

Select @tsparticles/basic, @tsparticles/slim, or @tsparticles/all depending on the features you need and the bundle size you want.

Can I control when heavy effects run?+

Yes, tsParticles provides explicit Start/Pause controls so you can run heavy effects only when required.

Is there support for custom shapes and presets?+

The plugins-customization guide explains how to add custom shapes, create presets, and extend the engine with plugins.

How do I migrate from particles.js?+

A dedicated migration guide outlines compatibility notes and steps to move from particles.js to tsParticles.

Summarized by DevHunt from particles.js.org · Sep 27, 2026. Details may change; check the official site.