End card with URL underline
end cards · 2.6 s
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 "Clean end card".
Source: https://tns.studio/downloads/clean-end-card (one self-contained HTML file, 2.5 s, GSAP).
What it does: An accent rule opens from the centre, the closing line rises out of a mask above it and the call to action settles underneath.
How to use it: Use as the last 2-3 seconds of a film. exactCopy[0] is the closing line (one line), exactCopy[1] the call to action. Hold the final frame after the move.
Change only these inputs: background, color, accent. Keep the timing, easing and stagger exactly as they are.
My copy and colours: [write them here] The only things to change. The timing stays as it is.
| input | default | light |
|---|---|---|
| background | #0b0d10 | #f3f0e8 |
| color | #f5f3ee | #191919 |
| accent | #245bff | #245bff |
Use as the last 2-3 seconds of a film. exactCopy[0] is the closing line (one line), exactCopy[1] the call to action. Hold the final frame after the move.
// Clean end card: a rule opens from the centre, the line reveals above it, the call to action below. 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 column = document.createElement("div");
Object.assign(column.style, {
position: "absolute",
left: "50%",
top: "50%",
transform: "translate(-50%, -50%)",
display: "flex",
flexDirection: "column",
alignItems: "center",
gap: `${Math.round(height * 0.04)}px`,
textAlign: "center",
});
const mask = document.createElement("div");
mask.style.overflow = "hidden";
mask.style.padding = "0.06em 0.1em";
const headline = document.createElement("div");
headline.dataset.copy = "";
headline.textContent = exactCopy[0];
Object.assign(headline.style, {
color: inputs.color,
font: `650 ${Math.round(width * 0.05)}px/1.1 ${font}`,
letterSpacing: "-0.03em",
whiteSpace: "nowrap",
});
mask.append(headline);
const rule = document.createElement("div");
Object.assign(rule.style, {
width: `${Math.round(width * 0.22)}px`,
height: `${Math.max(3, Math.round(height * 0.004))}px`,
background: inputs.accent,
transformOrigin: "50% 50%",
});
const cta = document.createElement("div");
cta.dataset.copy = "";
cta.textContent = exactCopy[1];
Object.assign(cta.style, {
color: inputs.color,
font: `500 ${Math.round(width * 0.016)}px/1 ${font}`,
letterSpacing: "0.16em",
textTransform: "uppercase",
padding: "1em 1.8em",
border: `2px solid ${inputs.color}`,
borderRadius: "999px",
});
column.append(mask, rule, cta);
canvas.append(column);
const d = duration;
const timeline = gsap.timeline({ paused: true });
timeline
.fromTo(rule, { scaleX: 0 }, { scaleX: 1, duration: d * 0.34, ease: "expo.inOut" }, 0)
.fromTo(
headline,
{ yPercent: 110 },
{ yPercent: 0, duration: d * 0.4, ease: "power4.out" },
d * 0.2,
)
.fromTo(
cta,
{ opacity: 0, y: height * 0.02, letterSpacing: "0.3em" },
{ opacity: 1, y: 0, letterSpacing: "0.16em", duration: d * 0.36, ease: "power3.out" },
d * 0.38,
);
// 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.
end cards · 2.6 s
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.