Skip to main content
VelinStyle v1.3.0
⌂ Home
  1. Docs
  2. Motion
  3. Exit

Exit Animations 1.2.2

Animate elements out of view with fade and scale exit effects. Deutsch: Austritt

Maturity: Documented as stable in VelinStyle 1.2.0. Design Intelligence (plan / review / agent meta) is separate and beta / foundation where noted.

When to use

When not

Fade Out

<div class="velin-animate-fade-out">Fades to transparent</div>
<div class="velin-animate-fade-out-up">Fades out moving up</div>
<div class="velin-animate-fade-out-down">Fades out moving down</div>

Scale Out

<div class="velin-animate-scale-out">Shrinks to nothing</div>

Fill Mode

Exit animations typically need .velin-fill-forwards so the element stays hidden after the animation completes:

<div class="velin-animate-fade-out velin-fill-forwards">
  Gone after animation
</div>

Attributes & runtime

For scroll-triggered variants, prefer velin-reveal / initMotion() — see Motion & attributes. CSS classes here remain valid without JS.