Skip to content

Overshoot ​

An entrance that goes a little past its place and settles back.

tsx
import { Composition, Shape, Track } from "@uberscene/kit";

// Overshoot: an entrance that passes its size and settles back, for something that should feel alive.
const PAPER = "#f2eee6";
const INK = "#151515";
const ACCENT = "#d6336c";

export default function Video() {
  return (
    <Composition
      fps={30}
      width={640}
      height={360}
      background={{ type: "color", color: PAPER }}
      theme={{
        extends: "paper",
        motion: "none",
        fonts: { heading: "Inter", body: "Inter" },
        palette: { primary: ACCENT, accent: ACCENT, background: PAPER, text: INK },
      }}
    >
      <Track id="shapes" layout="free">
        <Shape
          id="pop"
          type="rectangle"
          start={0}
          duration={3}
          width={120}
          height={120}
          cornerRadius={14}
          fill={ACCENT}
          box={{ x: 320, y: 180, origin: "center" }}
          transform={{
            scale: [
              { at: 0.3, value: 0.01, easing: "easeOutBack" },
              { at: 0.9, value: 1 },
            ],
          }}
        />
      </Track>
    </Composition>
  );
}

What it conveys: Life and energy: the thing arrives with some spring in it.

Use it when ​

  • Popping in a card, a badge or a button.
  • A result that should land with a little bounce.

Values ​

Value
easing"easeOutBack"passes its size and settles back
scale0 to 1 over 0.6 skeys on transform.scale

Ask your agent ​

Pop the card in with a scale key from 0 to 1 and easing easeOutBack.

Goes with: Stagger · Pause before the payoff

All techniques · Motion across cuts

MIT licensed.