Signatures
Hand-signed sign-offs and hero lettering.
scrollDraw('#signature')00 / svg-scroll-drawMIT · open source
Correct path lengths, stagger and morph, drawn on the browser’s own scroll timeline where it can be and by a frame loop where it can’t. 11.9 KB gzipped, against 47.5 KB for GSAP, ScrollTrigger and DrawSVG.
Switch from AOS, ScrollReveal or vivus in one line29 free tools
Signatures, maps, charts, product sketches, logos, diagrams — each one below is drawn by the library as you reach it.
Hand-signed sign-offs and hero lettering.
scrollDraw('#signature')Journeys that unfold as the reader scrolls.
scrollDraw('#route', { once: true })Lines that plot themselves on arrival.
scrollDraw('#chart', { stagger: 0.1 })Blueprints that assemble, part by part.
scrollDraw('#sketch', { stagger: 0.04 })A mark that inks itself in, once.
scrollDraw('#logo', { autoplay: true })Flows that explain themselves in order.
scrollDraw('#flow', { stagger: 0.08 })02 / scrollDraw, scrubbed
scrollDraw('#caliber', {stagger: 0.009, speed: 8, easing: 'ease-in-out',})03 / annotations, drawn in order
svg-scroll-draw is 10 KB gzipped with zero dependencies. It draws on the browser’s native scroll timeline where one exists and falls back to a frame loop where it doesn’t — and it is MIT, so it is Yours.
scrollDraw('#proof', {stagger: 0.004, speed: 50})04 / against the incumbent
import gsap from 'gsap';
import { ScrollTrigger } from 'gsap/ScrollTrigger';
import { DrawSVGPlugin } from 'gsap/DrawSVGPlugin';
gsap.registerPlugin(ScrollTrigger, DrawSVGPlugin);
gsap.from('#logo path', {
drawSVG: 0,
stagger: 0.1,
ease: 'power1.out',
scrollTrigger: {
trigger: '#logo',
start: 'top 80%',
end: 'top 30%',
scrub: true,
},
});import { scrollDraw } from 'svg-scroll-draw';
scrollDraw('#logo', {
stagger: 0.1,
easing: 'ease-out',
trigger: { start: 'top 80%', end: 'top 30%' },
});Minified and gzipped at level 9, measured 2026-08-14. GSAP has been free since 2025 and does far more than scroll; for the scroll effects here, this is the difference you ship.
05 / the toolkit
destroy, replay, pause, resume, seek, getProgress — learn one, know them all
const it = scrollText('h1', { split: 'chars' })it.destroy()it.replay()it.pause()it.resume()it.seek(0.5)it.getProgress()06 / proof
const opts = {trigger: { start: 'top 85%', end: 'center 45%' },stagger: 0.014, speed: 7, onProgress: readNeedles,}scrollDraw('#dials', opts)scrollDraw('#readings', opts)07 / your stack
A component in React and Vue, an action in Svelte, a hook in Solid, a custom element for plain HTML. SSR-safe.
'use client';import { ScrollDraw, ScrollText } from 'svg-scroll-draw/react';export function Hero() { return ( <> <ScrollText as="h1" split="words" stagger={0.05}> Every word arrives on scroll </ScrollText> <ScrollDraw easing="ease-out"> <svg viewBox="0 0 200 80">{/* paths */}</svg> </ScrollDraw> </> );}08 / switching
Your markup and your calls stay exactly as they are. Only the import changes — and the page does the same thing, in fewer bytes.
import AOS from 'aos'import AOS from 'svg-scroll-draw/aos'AOS.init() keeps working. 6.7 KB → 3.2 KB, matched against the original in Chromium, Firefox and WebKit.
09 / in the open
live · refreshed hourly · checked Nov 30, 12:36 UTC
★ / one more plate
Notes