Enter Animations
Animations that trigger when elements enter the viewport or are mounted
Example
Create entrance effects by combining multiple enter base animations:
Overview
Enter animations are triggered when elements are mounted in the DOM. They're perfect for adding animations to landing pages and animating appearing elements.
Each element will automatically animate from its starting state (the value after -in-
) to its default state. For example:
motion-opacity-in-0
starts atopacity(0)
and animates toopacity(100%)
motion-translate-y-in-100
starts attranslateY(100%)
and animates totranslateY(0)
motion-blur-in-md
starts atblur(md)
and animates toblur(0)
motion-scale-in-75
starts atscale(75%)
and animates toscale(100%)
Basic Usage
Create enter animations by using any base animation with the in
direction:
Customizing Enter Animations
You can customize enter animations using modifiers. See the applying modifiers guide for more details:
Combining Enter Animations
Stack multiple enter animations to create complex effects:
Presets
The plugin also includes a set of presets that combine multiple properties into single, ready-to-use classes. Check out the presets page for more information.