# Barrel (`.sds-scroll-barrel`)

Element tumbles in with a diagonal barrel-roll 3D rotation. 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-barrel/
- 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-barrel" 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-easing` controls the feel — override either on the element or :root (the sds-fast/sds-slow modifier classes do exactly that).

## Related

- [Blink In](https://sds-motion-forge.netlify.app/animations/scroll-blink-in/)
- [Blur Ascend](https://sds-motion-forge.netlify.app/animations/scroll-blur/)
- [Bounce](https://sds-motion-forge.netlify.app/animations/scroll-bounce/)
