# Elastic tug slider

https://fieldbook.lizardi.mx/components/elastic-tug-slider

Category: Inputs
![Still of the Elastic tug slider component, a Fieldbook UI component in Inputs.](https://fieldbook.lizardi.mx/thumbs/elastic-tug-slider.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/elastic-tug-slider-a16289b9a2.mp4 (5 s, silent)

Elastic tug slider: A slider that stretches like an elastic band when dragged past its ends, snapping the track back with a bounce once released.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| value | number | 50 | From 0 to 100; step 1 |
| stepped | boolean | false | No additional limit in the metadata. |
| accent | color | #F5C542 | No additional limit in the metadata. |

## Usage notes

Elastic tug slider uses the inline preview frame with a light/dark theme setting.

### Which frameworks are available for Elastic tug slider?

Elastic tug slider is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

### What does Elastic tug slider depend on?

The React metadata lists these npm dependencies beyond React: motion.

### What accessibility details are visible in Elastic tug slider?

The React source for Elastic tug slider includes: attributes and handlers (aria-hidden, aria-label, aria-valuemax, aria-valuemin, aria-valuenow, onKeyDown, tabIndex); explicit roles (slider); key comparisons (ArrowDown, ArrowLeft, ArrowRight, ArrowUp, End, Home, PageDown, PageUp). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Elastic tug slider handle reduced motion?

Elastic tug slider reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: reduced ? \{ stiffness: 700, damping: 44 \} : \{ stiffness: 240, damping: 13 \}. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "elastic-tug-slider",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Single value slider](https://fieldbook.lizardi.mx/components/single-value-slider)
- [Vertical brightness slider](https://fieldbook.lizardi.mx/components/vertical-brightness-slider)
- [Auto Grow Textarea](https://fieldbook.lizardi.mx/components/auto-grow-textarea)
- [Character budget counter](https://fieldbook.lizardi.mx/components/character-budget-counter)
- [Focus ring text input](https://fieldbook.lizardi.mx/components/focus-ring-text-input)
- [Natural Language Date Field](https://fieldbook.lizardi.mx/components/natural-language-date-field)
