# Snap (`.sds-scroll-snap`)

Snap — scroll animation. Scroll animation in SDS Motion Forge v5.0.0. It plays once when scrolled into view.

- Page: https://sds-motion-forge.netlify.app/animations/scroll-snap/
- Category: Scroll (https://sds-motion-forge.netlify.app/categories/scroll/)
- Animated properties: opacity, transform
- Compositor-only: yes
- Needs child elements: no
- Needs per-character spans: no
- JavaScript: sds-scroll (optional)

## Use it

```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@salkomdesignstudio/sds-motion-forge/dist/categories/scroll.min.css" />

<div class="sds-scroll-snap" data-sds>Scrolls into view</div>
```

## How it works

Plays when the element enters the viewport (gated by data-sds + the scroll engine, or fire it yourself by adding the class). It animates opacity and movement and scale (transform) — compositor-only, so it never causes page reflow. `--sds-ease-bounce` controls the feel — override either on the element or :root (the sds-fast/sds-slow modifier classes do exactly that).

## Related

- [Momentum Slide](https://sds-motion-forge.netlify.app/animations/scroll-slide/)
- [Slide Right](https://sds-motion-forge.netlify.app/animations/scroll-slide-right/)
- [Slingshot](https://sds-motion-forge.netlify.app/animations/scroll-slingshot/)
- [Spin Y](https://sds-motion-forge.netlify.app/animations/scroll-spin-y/)
- [Spiral](https://sds-motion-forge.netlify.app/animations/scroll-spiral/)
- [Split Reveal](https://sds-motion-forge.netlify.app/animations/scroll-split/)
