MotionScript

@motion-script/core


@motion-script/core / FlowMode

Type Alias: FlowMode

FlowMode = "horizontal" | "vertical" | "freeform"

Defined in: layout/flow-engine.ts:22

How a container arranges the children that take part in its layout:

  • 'freeform' — children overlap, each centred in the padded content box and offset from there by its own x/y.
  • 'horizontal' — a flex run left-to-right.
  • 'vertical' — a flex run top-to-bottom.