# Squares (`.sds-loader-squares`)

Four squares in a 2×2 grid pop in and out in a rolling sequence. Loaders animation in SDS Motion Forge v5.0.0. It loops continuously as soon as the class is applied.

- Page: https://sds-motion-forge.netlify.app/animations/loader-squares/
- Category: Loaders (https://sds-motion-forge.netlify.app/categories/loaders/)
- Animated properties: opacity, transform
- Compositor-only: yes
- Needs child elements: yes
- Needs per-character spans: no
- JavaScript: none required

## Use it

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

<span class="sds-loader-squares"><span></span><span></span><span></span><span></span></span>
```

## How it works

Plays as soon as the class is applied, looping continuously. It animates opacity and movement and scale (transform) — compositor-only, so it never causes page reflow. Timing is fixed for this effect, but you can still override animation-duration/timing-function on the element. The animation runs on the element's direct children — it needs child elements to be visible.

## Related

- [Spin Dot](https://sds-motion-forge.netlify.app/animations/loader-spin-dot/)
- [Spin Fade](https://sds-motion-forge.netlify.app/animations/loader-spin-fade/)
- [Spotlight](https://sds-motion-forge.netlify.app/animations/loader-spotlight/)
- [Star](https://sds-motion-forge.netlify.app/animations/loader-star/)
- [Stripes](https://sds-motion-forge.netlify.app/animations/loader-stripes/)
- [Swivel](https://sds-motion-forge.netlify.app/animations/loader-swivel/)
