Skip to content

Curved arrow ​

Deprecated

<Graphic> and its kinds are deprecated and will be removed in a later release; the lint warns on each one. Draw the same thing with <Motion>, <Three> or a <Layer>: the examples show each, and Free code explains them.

An arrow that arcs from the bottom left to the bottom right of its box; flip arcs it downward.

tsx
<Composition fps={30} width={640} height={360}>
  <Track id="main" layout="free">
    <Graphic id="g1" kind="curved-arrow" start={0} duration={3} />
  </Track>
</Composition>

Props ​

proptypedefault
colorstring"$primary"
thicknessnumber (0..200)8
bendnumber (0..1)0.7
flipbooleanfalse
head"triangle" | "open" | "none""triangle"

Plus the <Graphic> props every kind takes. More in Arrows.

MIT licensed.