# Flux (`.sds-btn-flux`)

Flux — 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-flux/
- Category: Buttons (https://sds-motion-forge.netlify.app/categories/buttons/)
- Animated properties: filter, 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-flux">Button</button>
```

## How it works

Plays as soon as the class is applied, looping continuously. It animates filters (blur/brightness) 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.

## Related

- [Fire](https://sds-motion-forge.netlify.app/animations/btn-fire/)
- [Flare](https://sds-motion-forge.netlify.app/animations/btn-flare/)
- [Float](https://sds-motion-forge.netlify.app/animations/btn-float/)
- [Glow Core](https://sds-motion-forge.netlify.app/animations/btn-glow-core/)
- [Glow Surge](https://sds-motion-forge.netlify.app/animations/btn-glow-surge/)
- [Gradient Shift](https://sds-motion-forge.netlify.app/animations/btn-gradient-shift/)
