# Draw Perimeter (`.sds-btn-draw-perimeter`)

Border draws itself around the button, clicks at full frame, then fades for the next pass. 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-draw-perimeter/
- Category: Buttons (https://sds-motion-forge.netlify.app/categories/buttons/)
- Animated properties: clip-path, opacity, 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-draw-perimeter">Button</button>
```

## How it works

Plays as soon as the class is applied, looping continuously. It animates a clip-path mask, opacity and movement and scale (transform) — compositor-only, so it never causes page reflow. `--sds-duration-slower` controls the speed and `--sds-ease-standard` controls the feel — override either on the element or :root (the sds-fast/sds-slow modifier classes do exactly that).

## Related

- [Draw Corners](https://sds-motion-forge.netlify.app/animations/btn-draw-corners/)
- [Draw Cross](https://sds-motion-forge.netlify.app/animations/btn-draw-cross/)
- [Draw Dash](https://sds-motion-forge.netlify.app/animations/btn-draw-dash/)
- [Draw Pulse Frame](https://sds-motion-forge.netlify.app/animations/btn-draw-pulse-frame/)
- [Underline Orbit](https://sds-motion-forge.netlify.app/animations/btn-draw-underline-orbit/)
- [Edge Trace](https://sds-motion-forge.netlify.app/animations/btn-edge/)
