Skip to content
2.0 s · 1920×1080

Prompt to paste

For Claude or any other AI video tool, with room for your own copy and colours.

Build a 1920x1080 scene with the TNS motion component "Lower third slide".

Source: https://tns.studio/downloads/lower-third-slide (one self-contained HTML file, 2.0 s, GSAP).

What it does: An accent tab grows up, a plate wipes open to the right and the name and role rise out of their masks.
How to use it: Use for an on-screen name and role. exactCopy[0] is the name, exactCopy[1] the role. The background input is for preview only; set it to transparent footage in the edit.
Change only these inputs: background, plate, color, accent. Keep the timing, easing and stagger exactly as they are.

My copy and colours: [write them here]

Inputs

The only things to change. The timing stays as it is.

input default light plate
background #3a4552 #3a4552
plate #0b0d10 #fffdf7
color #f5f3ee #191919
accent #245bff #245bff

How to use it

Use for an on-screen name and role. exactCopy[0] is the name, exactCopy[1] the role. The background input is for preview only; set it to transparent footage in the edit.

Code

component.js show
// Lower third slide: an accent tab wipes in, the plate opens and the name rises out of it. TNS original.
window.TNS_COMPONENT_V1 = ({ canvas, gsap, width, height, duration, inputs, exactCopy }) => {
  canvas.style.background = inputs.background;
  const font = 'Inter, "Helvetica Neue", Helvetica, Arial, sans-serif';
  const unit = Math.round(height * 0.01);
  const group = document.createElement("div");
  Object.assign(group.style, {
    position: "absolute",
    left: `${Math.round(width * 0.07)}px`,
    bottom: `${Math.round(height * 0.12)}px`,
    display: "flex",
    alignItems: "stretch",
  });
  const tab = document.createElement("div");
  Object.assign(tab.style, {
    width: `${unit * 1.2}px`,
    background: inputs.accent,
    transformOrigin: "50% 100%",
  });
  const plate = document.createElement("div");
  Object.assign(plate.style, {
    background: inputs.plate,
    padding: `${unit * 2.2}px ${unit * 3.4}px`,
    clipPath: "inset(0% 0% 0% 0%)",
  });
  const masked = (copy, style) => {
    const mask = document.createElement("div");
    mask.style.overflow = "hidden";
    const text = document.createElement("div");
    text.dataset.copy = "";
    text.textContent = copy;
    Object.assign(text.style, { whiteSpace: "nowrap", ...style });
    mask.append(text);
    plate.append(mask);
    return text;
  };
  const name = masked(exactCopy[0], {
    color: inputs.color,
    font: `700 ${unit * 5.2}px/1.1 ${font}`,
    letterSpacing: "-0.02em",
  });
  const role = masked(exactCopy[1], {
    color: inputs.color,
    opacity: "0.7",
    marginTop: `${unit * 0.6}px`,
    font: `500 ${unit * 2.6}px/1.2 ${font}`,
    letterSpacing: "0.12em",
    textTransform: "uppercase",
  });
  group.append(tab, plate);
  canvas.append(group);

  const d = duration;
  const timeline = gsap.timeline({ paused: true });
  timeline
    .fromTo(tab, { scaleY: 0 }, { scaleY: 1, duration: d * 0.22, ease: "power3.out" }, 0)
    .fromTo(
      plate,
      { clipPath: "inset(0% 100% 0% 0%)" },
      { clipPath: "inset(0% 0% 0% 0%)", duration: d * 0.4, ease: "expo.out" },
      d * 0.14,
    )
    .fromTo(
      name,
      { yPercent: 110 },
      { yPercent: 0, duration: d * 0.4, ease: "power4.out" },
      d * 0.24,
    )
    .fromTo(
      role,
      { yPercent: 110, opacity: 0 },
      { yPercent: 0, opacity: 0.7, duration: d * 0.36, ease: "power3.out" },
      d * 0.34,
    );
  // Hold the last frame to the declared duration so the timeline matches it exactly.
  timeline.set({}, {}, duration);
  return timeline;
};

The downloaded HTML already includes it, with GSAP inlined, so it runs offline.

Want motion nobody else has?

These components are free because we love this stuff, but our real job is making launch films and content for startups (50+ so far, most of them YC). If you'd like motion that's made for your product and nobody else's, it's 30 minutes with the founders and you don't need a deck.