Menu
Libraries |
Category

svelte-confetti

  • Adds confetti animations to Svelte applications 🎊
  • Zero dependencies and minimal bundle size
  • Works with SSR in SvelteKit (including without JavaScript)
  • Supports both Svelte 4 and Svelte 5

Key Features:

  • Customizable particle size, colors, shapes (rounded/square), and movement patterns
  • Control over animation duration, delays, and iteration counts
  • Options for realistic cone-shaped explosions or constant-speed particles
  • Accessibility support (reduced motion preferences)
  • Performance-conscious design with configurable particle amounts

Target Audience:
Svelte developers looking to add celebratory/visual feedback effects to their applications.

Documentation: [Demo & Detailed Docs](https://mitcheljager.github.io/svelte-confetti/ fa-solid fa-up-right-from-square)

Framework Support:
Primarily designed for Svelte (versions 4 and 5), with SSR compatibility in SvelteKit.

svelte

Comments