Component API
<animate-confetti>
Fullscreen confetti animation overlay, rendered on a fixed-position canvas.
Starts automatically on first render and stops after duration ms.
Install
import "@f-ewald/components/animate-confetti.js";
Usage
<animate-confetti duration="6000"></animate-confetti>
Attributes / properties
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
duration | duration | number | 6000 | How long the confetti streams before stopping, in ms. |
Events
None.
Slots
None.
CSS custom properties
None.