# Motion Toggle Spring

Notify-subscribers switch with spring knob travel in a channel settings panel.

- id: `motion-toggle-spring`
- Page: https://agentic-ui-kit.com/components/motion-toggle-spring
- Live preview: https://agentic-ui-kit.com/live/fixture/motion-toggle-spring?piece=motion-toggle-spring

## Install

```bash
agentic-ui add motion-toggle-spring
npx shadcn@4.17.0 add @agentic-ui/motion-toggle-spring
```

## Metadata

- **Level:** block
- **Category:** motion
- **Installable in:** Radix UI (registry variant new-york), Base UI (registry variant base-vega)
- **Capabilities:** spring-knob-travel, switch-state, reduced-motion-fallback
- **Intents:** configure, create-edit
- **Suits domains:** settings, saas, ai-workspace, operations, devtools
- **Interaction:** click, keyboard-navigation
- **Screen role:** management
- **Density:** compact
- **Dark mode:** yes
- **Use it for:** Notify-subscribers switch with spring knob travel in a channel settings panel.
- **Avoid when:** Avoid for choices that are not binary; use a segmented control or select instead.
- **Preserve when adapting:** binary-switch-semantics, static-on-off-state, spring-token
- **Replace when adapting:** setting-label, track-color
- **Adaptation effort:** low
- **Coupling:** low
- **Quality score:** 8.4/10
- **Quality breakdown:** visual 8/10, responsive 8/10, accessibility 8/10, code 8/10
- **npm dependencies:** @agentic-ui/motion-toggle-spring-draggable, @agentic-ui/motion, @agentic-ui/tokens, react
- **Motion:** profile subtle, library css, reduced-motion fallback yes, target 55 fps
- **Registry dependencies:** lib-motion, lib-motion-checkbox-draw-tristate, lib-motion-toggle-spring-draggable
