Skip to content
Documentation/MoveVariant

Search documentation

Type to search the documentation.

Reference

MoveVariant

Stable API — covered by semantic-versioning guarantees.

Overview

Stable API — covered by semantic-versioning guarantees.

  • Kind: Type alias
  • Stability: stable

Definition

type MoveVariant = MoveVariantState & {
  spring?: MoveSpring;
  duration?: MoveTime;
  easing?: string;
  delay?: MoveTime;
  transition?: MoveTransitionConfig;
  /** Delay added per nested `[moveVariants]` child, in DOM order (`MoveTime`). */
  staggerChildren?: MoveTime;
  /** Delay applied to every nested `[moveVariants]` child before staggering (`MoveTime`). */
  delayChildren?: MoveTime;
  when?: MoveVariantOrchestration;
};