---
title: Spring Element
description: A flexible, animated spring component that attaches a draggable element (avatar, text, icon, or any React node) to its origin with a spring line.
author:
name: arhamkhnz
url: https://github.com/arhamkhnz
---
## Installation
## Usage
```tsx
{USER.fallback}
```
**Note:** Add draggable={false} to your element
(avatar, image, etc.) when passing it as children. This prevents the browser's
native drag image from interfering with the spring drag animation.
## Props
### SpringElement
## Credits
- Credits to [Anh](https://x.com/pwign) for [this X post](https://x.com/pwign/status/1927760004183970067) as inspiration