Skip to content

Type Alias: MotionPath ​

ts
type MotionPath = "linear" | "arc";

Trajectory followed by the flying element's center point.

  • "linear" (default): straight line from the source center to the destination center.
  • "arc": quadratic Bezier arc bowed perpendicular to the chord by 18% of the center-to-center distance (Material Motion arc path).

Released under the MIT License.