Documentation
v1.5.0Getting Started
Dynamic island
Visual effects
Interaction
Animated
What is it?
Snowfall adds a gentle snow animation to a specified section on the web page. The animation simulates falling snowflakes, creating a winter-like visual experience that is customizable in terms of density and speed.
How to set it up?
To use the Snowfall, you need to configure the following attributes on the section where you want the snowfall to appear:
'data-snowfall'. Enables the snowfall effect on the specified container. This attribute must be present on the element for the animation to be applied.
'data-snowfall-density' (Optional). Specifies the number of snowflakes displayed on the screen. Higher values will increase the density of the snow.
- Example values:
"50"
(fewer snowflakes)"100"
(default, moderate density)"200"
(high density)
'data-snowfall-speed' (Optional). Controls the speed at which the snowflakes fall.
- Example values:
"0.5"
(slow snowfall)"1"
(default speed)"2"
(fast snowfall)
Support
Need a hand? I'm here to assist with setup, customization, or any questions you may have. Feel free to reach out—I aim to respond as soon as possible, and I appreciate your patience if there's a slight delay
Contact