tsParticles
A highly customizable JavaScript library for particle backgrounds, confetti, fireworks and more.

What it is
tsParticles is an open-source particle animation library written in TypeScript. Use it for connected-particle backgrounds, confetti, fireworks, snow and similar effects. Shape, color, count, movement and interactivity are all set through a config object, and the project ships ready-made presets plus components for popular frameworks, so you rarely start from zero.
Key features
- Deep customization: Shape, color, count, motion and interaction
- Presets: Confetti, fireworks and other ready-made effects
- Framework components: Integrations for React, Vue, Angular and more
- Interactivity: Particles respond to hover and clicks
Who it's for
Front-end developers who want particle effects in a site background, event page or celebration moment. The site has plenty of demos, so pick one and tweak from there. Free to use.
Patterns & Backgrounds
- Hero Patterns — A library of tileable SVG background patterns you can recolor in the browser and copy as CSS.
- CSS Gradient — A free CSS gradient generator with live preview, copyable code and gradient guides.
- Mesh Gradient — Generate colorful mesh gradients online, customize them and export PNGs for free.
- CSS Pattern — 100+ background patterns built with CSS gradients and modern CSS, ready to copy.
- fffuel — A collection of free SVG generators for gradients, patterns, shapes, textures and backgrounds, plus color tools.
- Trianglify.io — Generate low-poly triangle patterns for wallpapers and website assets.