effect-motion
API Referenceeffect-motionNamespacesPhysicsType aliases

SpringInput

type SpringInput = SpringName | Spring;

Type Alias: SpringInput

type SpringInput = SpringName | Spring;

Defined in: packages/motion/src/Physics.ts:130

What the spring animators accept: a preset name (autocompleted at the call site) or a full Spring of your own.

On this page