# Swipe (`.sds-btn-swipe`)

Swipe — 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-swipe/
- Category: Buttons (https://sds-motion-forge.netlify.app/categories/buttons/)
- Animated properties: background-position
- Compositor-only: no
- 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-swipe">Button</button>
```

## How it works

Plays as soon as the class is applied, looping continuously. It animates a gradient sweep. Timing is fixed for this effect, but you can still override animation-duration/timing-function on the element.

## Related

- [Stretch](https://sds-motion-forge.netlify.app/animations/btn-stretch/)
- [Surge Charge](https://sds-motion-forge.netlify.app/animations/btn-surge-charge/)
- [Swap Flip](https://sds-motion-forge.netlify.app/animations/btn-swap-flip/)
- [Tick Tock](https://sds-motion-forge.netlify.app/animations/btn-tick-tock/)
- [Tilt](https://sds-motion-forge.netlify.app/animations/btn-tilt/)
- [Tilt Float](https://sds-motion-forge.netlify.app/animations/btn-tilt-float/)
