Skip to content
motionprompts motionprompts

Scribble Strike Marquee

GSAP animation component · Published 2026-11-21 · by vanguardia.dev

Open live demo ↗ Download source

What it does

One giant line of thin uppercase grotesque that slides left as the section crosses the viewport (scrubbed xPercent 0 to -38), while a marker-style SVG scribble draws itself over the key word with stroke-dashoffset the first time the section reaches 75% of the screen.

How it's built

Categorytext
Techgsap
GSAP pluginsScrollTrigger
Complexitysection
Performance costlight
Mobile-safeyes

text marquee strikethrough scribble svg stroke-dashoffset scrub typography

Rebuild it with AI

This component's prompt is part of the paid library. Below you can read how it starts; the full prompt, the exact structure, timing and easing an AI agent needs to rebuild the effect, unlocks with any paid plan, yearly or lifetime.

# Scribble Strike Marquee — a giant line that slides with the scroll and strikes out one word
## Goal
Build one huge line of thin uppercase grotesque, far wider than the screen, that **slides left as the section crosses the viewport (scrubbed `xPercent` 0 to -38)**. **One key word is struck out by a marker-style SVG scribble that draws itself with `stroke-dashoffset` the first time the section reaches 75% of the viewport.** Use it for a positioning line that negates something ("We are not a typical studio"). Do not use it for long sentences: the line must stay one line.
## Tech
Vanilla HTML/CSS/JS with ES modules: `gsap` (npm) and `ScrollTrigger`.
```js
import gsap from "gsap";
import { ScrollTrigger } from "gsap/ScrollTrigger";
gsap.registerPlugin(ScrollTrigger);
```
## Structure
```html
…

Premium prompt

Unlock this prompt, and every other one

From $99/year, or $139 once for lifetime access. Commercial license included.

See pricing Or start with the free set Already bought? Sign in

New components in your inbox

One email a week, only when new components ship, each with its live demo and prompt.