Scrollytelling
A story told by scrolling: a pinned visual that changes step by step while short text passes over it, as in data journalism and product pages.
Try it
Ground
#0f1115
Surface
#181b21
Text
#f2f2f2
Accent
#ffcc00
- Type
- sans, on a dark ground
- Radius
- 4px
- Material
- border-left:3px solid #ffcc00
This screen uses only the look's tokens. Click, type and toggle it. The libraries below are what your agent installs to build the real thing.
What your agent builds it with
Primitives
Base UIUnstyled, accessible React primitives from the Radix, Floating UI and MUI teams.building your own design system where every pixel is custom
you want styled components today: use shadcn-ui (Base UI flavour) or coss-ui
Motion
GSAPTimeline animation engine with ScrollTrigger, SplitText, Flip and MorphSVG, now free including every plugin.scroll-triggered reveals and pinned sections that scrub as you scroll (ScrollTrigger)
app UI state (open/close, presence, layout reflow) in React: use motion, which is declarative and handles unmount
Text effects
TorphAnimated text morphing: labels change letter by letter instead of swapping.copy button that confirms in place (Copy -> Copied)
long paragraphs or body copy: morphing many glyphs reads as noise
Icons
Phosphor IconsLarge icon family in six weights: thin, light, regular, bold, fill and duotone.selected vs unselected states (regular icon idle, fill icon active) in tab bars and nav
a shadcn/ui project already on Lucide: mixing two stroke styles looks off, stay on lucide
Charts
visxAirbnb's low-level D3 + React primitives (scales, shapes, axes) for custom charts.bespoke charts that match a design exactly (editorial graphics, custom dashboards)
a standard bar or line chart needed today: use recharts
Scrollalways
ScrollamaScrollytelling on IntersectionObserver: fires an event as each text step crosses a line, so a sticky graphic can change state.a scrollytelling story with steps: text cards scroll past a sticky chart or map that changes at each step
pinned sections that scrub tweened animation with the scrollbar: use gsap (ScrollTrigger)
Editors
TiptapHeadless rich-text editor framework on ProseMirror, with 100+ MIT extensions.a rich text editor for comments, posts or descriptions with bold, lists, links and mentions
a flowchart or node editor: use xyflow
The plan your agent reads
For “landing page with a signup form, a pricing table and toasts” in Scrollytelling: the plan tool's answer, word for word
look: Scrollytelling (scrollytelling, editorial family)
framework: react (assumed; pass framework)
build with every line below: run its install, build its part with it (usage under it), then adapt it to the rules below. A hand-written stand-in for a listed part (a <details> for an Accordion) is a miss
primitives (its parts for this page) -> base-ui: Unstyled, accessible React primitives from the Radix, Floating UI and MUI teams. (look's pick) | npm i @base-ui/react | use its Button, Input | else: radix-ui, react-aria
motion (presses, gestures, menus and entrances) -> gsap: Timeline animation engine with ScrollTrigger, SplitText, Flip and MorphSVG, now free including every plugin. (look's pick) | npm i gsap @gsap/react | else: motion
feedback (toasts) -> sonner: progress of an async task the user can walk away from (toast.promise) | npm i sonner | else: react-hot-toast, ding
import { Toaster, toast } from 'sonner'
<Toaster position="bottom-right" />
<button onClick={() => toast('Invite sent', { action: { label: 'Undo', onClick: undoInvite } })}>Invite</button>
scroll (the Scrollytelling look needs it) -> scrollama: Scrollytelling on IntersectionObserver: fires an event as each text step crosses a line, so a sticky graphic can change state. (look's pick) | npm i scrollama | else: lenis
import scrollama from 'scrollama'
const scroller = scrollama()
scroller
.setup({ step: '.story .step', offset: 0.6 })
.onStepEnter(({ index, direction }) => setStep(index))
// teardown: scroller.destroy()
icons (every icon on the page: one size and stroke, set once) -> phosphor: Large icon family in six weights: thin, light, regular, bold, fill and duotone. (look's pick) | npm i @phosphor-icons/react
import { IconContext, HeartIcon } from '@phosphor-icons/react'
<IconContext.Provider value={{ size: 20, weight: 'regular' }}>
<HeartIcon weight={liked ? 'fill' : 'regular'} aria-hidden />
</IconContext.Provider>
done when: every package above is imported where its part is, and no listed part is hand-written
vs: Not kinetic-typography: the visual and the story move, not only the words. Not magazine: one guided sequence, not a browsable spread. Not luxury: the scroll explains, it does not just set a mood.
type: Story text in short steps (1-3 sentences, 18-22px, max 40ch) on cards that scroll over the pinned visual; chapter headlines 48-80px. Keep step text on a solid or 90% opaque card so it reads over any frame.
colour: A neutral or dark stage so the visual carries colour; one highlight colour marks what the current step is about (the annotated bar, the active part).
motion: Scroll position drives state: pin the visual (position: sticky or a ScrollTrigger pin) and change it per step with scrubbed tweens, about one step per 80-100vh. Every state must read when paused; under prefers-reduced-motion swap scrubbing for cross-fades. Pause video and canvas offscreen.
avoid: scroll-jacking that changes scroll speed; steps that only make sense mid-animation; pinned sequences back to back with no break; heavy video or canvas loading before the first step; no summary for readers who will not scroll it all
refs: name a real one first: the user's, else search Mobbin, Refero or Inspo (free) if connected, else The Pudding pudding.cool, Apple AirPods Pro apple.com or a DESIGN.md from styles.refero.design or devault.design, and say how to connect one (get references)
brief first: build every part it names before styling; the first screen shows the main content working, not an empty hero; at desktop width fill it (columns, a side panel), never a phone-width column in empty space
never, whatever the look: text under 4.5:1 contrast (on glass, over its lightest backdrop); a headline clipped or split mid-word at 390px; a font named, not loadedRules
- Type
- Story text in short steps (1-3 sentences, 18-22px, max 40ch) on cards that scroll over the pinned visual; chapter headlines 48-80px. Keep step text on a solid or 90% opaque card so it reads over any frame.
- Colour
- A neutral or dark stage so the visual carries colour; one highlight colour marks what the current step is about (the annotated bar, the active part).
- Motion
- Scroll position drives state: pin the visual (position: sticky or a ScrollTrigger pin) and change it per step with scrubbed tweens, about one step per 80-100vh. Every state must read when paused; under prefers-reduced-motion swap scrubbing for cross-fades. Pause video and canvas offscreen.
Goes wrong when
- scroll-jacking that changes scroll speed
- steps that only make sense mid-animation
- pinned sequences back to back with no break
- heavy video or canvas loading before the first step
- no summary for readers who will not scroll it all
Not to be confused with
- Kinetic typographythe visual and the story move, not only the words.
- Magazineone guided sequence, not a browsable spread.
- Luxurythe scroll explains, it does not just set a mood.
Also in Editorial
- Editorial
- Swiss / International
- Magazine
- Newspaper / broadsheet
- Kinetic typography
- Oversized type
- Bauhaus
- Mid-century modern
- Dark academia
- Editorial serif
- Academic paper
- Risograph
- Collage
Brief words that land here
scrollytelling · scroll story · scroll storytelling · scroll-driven story · scroll driven story · sticky scroll · pinned sections · scroll theater · data story · visual essay






