Snowfall Background
A beautifully animated snowfall effect applied as a background.
Install using CLI
Install Manually
Copy and paste the following code
SnowfallBg.vue
API
Prop Name | Type | Default | Description |
---|---|---|---|
color | string | #FFF | Color of the snowflakes in hexadecimal format. |
quantity | number | 100 | Number of snowflakes to display. |
speed | number | 1 | Speed at which snowflakes fall. |
maxRadius | number | 3 | Maximum radius of snowflakes. |
minRadius | number | 1 | Minimum radius of snowflakes. |
class | string | null | Additional CSS classes to apply to the container element. |
Credits
- Inspired by natural snowfall effects.