# Recoil (`.sds-btn-recoil`)

Recoil — button animation. Buttons 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/btn-recoil/
- Category: Buttons (https://sds-motion-forge.netlify.app/categories/buttons/)
- Animated properties: transform
- Compositor-only: yes
- Needs child elements: no
- 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/buttons.min.css" />

<button class="sds-btn-recoil">Button</button>
```

## How it works

Plays as soon as the class is applied, looping continuously. It animates 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.

## Related

- [Pulse Border](https://sds-motion-forge.netlify.app/animations/btn-pulse-border/)
- [Quantum Stamp](https://sds-motion-forge.netlify.app/animations/btn-quantum/)
- [Radar](https://sds-motion-forge.netlify.app/animations/btn-radar/)
- [Ripple](https://sds-motion-forge.netlify.app/animations/btn-ripple/)
- [Rotate](https://sds-motion-forge.netlify.app/animations/btn-rotate/)
- [Scan](https://sds-motion-forge.netlify.app/animations/btn-scan/)
