# Underline Draw (`.sds-input-underline-draw`)

Underline draws from the center to both edges with a snap of overshoot. Inputs animation in SDS Motion Forge v5.0.0. It plays once as soon as the class is applied.

- Page: https://sds-motion-forge.netlify.app/animations/input-underline-draw/
- Category: Inputs (https://sds-motion-forge.netlify.app/categories/inputs/)
- Animated properties: 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/inputs.min.css" />

<div class="sds-input-underline-draw">
  <input placeholder="Type here" />
</div>
```

## How it works

Plays when the field receives focus. It animates opacity and movement and scale (transform) — compositor-only, so it never causes page reflow. `--sds-duration-fast` controls the speed and `--sds-ease-spring` controls the feel — override either on the element or :root (the sds-fast/sds-slow modifier classes do exactly that).

## Related

- [Underline Trail](https://sds-motion-forge.netlify.app/animations/input-underline-trail/)
- [Success Ripple](https://sds-motion-forge.netlify.app/animations/input-success-ripple/)
- [Success Tick](https://sds-motion-forge.netlify.app/animations/input-success-tick/)
- [Tilt In](https://sds-motion-forge.netlify.app/animations/input-tilt-in/)
- [Unlock](https://sds-motion-forge.netlify.app/animations/input-unlock/)
- [Void](https://sds-motion-forge.netlify.app/animations/input-void/)
