Snowfall Background
A beautifully animated snowfall effect applied as a background.
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. |
Component Code
You can copy and paste the following code to create this component:
SnowfallBg.vue
Credits
- Inspired by natural snowfall effects.