Hand-drawn
Paper stack on scroll
Scrolling as a stack of sheets: every section slides up at a slight tilt and settles flat as if laid on a desk; a pencil thread runs along the edge, drawing itself as you scroll and tying a knot at each sheet. Margins carry doodles, a pair per sheet, drawn in when the thread reaches the section. Any sections inside.
React + Tailwind, shadcn-compatible: press “Copy for AI” and your Cursor or Claude Code agent installs it with the shadcn CLI.
What you can change
- labels at the knots, doodles — icon pairs per sheet from the set of 14, thread — the thread can be turned off
- accent and ink, rough and boil, tone
- sections inside — any blocks
A link for your AI agent: preview, code and instructions.
Preview

Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.club/c/sketch-018?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
How to use
<Sketch018 labels={["work", "process", "about", "pricing"]}>
<Works />
<Process />
<About />
<Pricing />
</Sketch018>A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.
Settings
- Thread
thread· default: on- Hand
rough· default: loose- Boil
boil· default: soft- Line
accent· default: theme colour- Text
ink· default: theme colour
Used in scenarios
- Photographer portfolioScroll and margins
More in Hand-drawn
FAQ
- How do I add Paper stack on scroll with Cursor or Claude Code?
- Press “Copy for AI” on this page and paste it into your agent's chat. The instruction contains the shadcn CLI install command, the dependencies and what to keep, so the agent installs this exact component instead of recreating a lookalike.
- What does Paper stack on scroll depend on?
- No npm packages beyond React and Tailwind CSS.
- What can I change in Paper stack on scroll?
- Adapt: labels at the knots, doodles — icon pairs per sheet from the set of 14, thread — the thread can be turned off; accent and ink, rough and boil, tone; sections inside — any blocks. Keep as installed: the tilted slide-in that settles flat — that is the “laid on the desk” effect; without the tilt it is a plain fade-in; the thread with pathLength and dashoffset from progress — it is drawn, not faded in; the alternating tilt sign between sheets.
- Is Paper stack on scroll free?
- The preview is open to everyone; the source is available with a PRO subscription.
For developers
npx shadcn@latest add https://vibeui.club/r/pro/sketch-018.jsonThis command needs a signed link: sign in and open “Component source” below — it issues a working link valid for 30 minutes. All install options
Technical notes
One file, zero dependencies, “use client”. A wrapper around sections: each direct child is wrapped into a sheet tilted from the seed (sign alternates). A sheet slides in once: IntersectionObserver sets data-shown, transition transform/opacity 0.9s; a sheet already on screen at load shows at once. The thread is an SVG on a 4.5rem rail on the left (from 64rem width only): a vertical sketch line in three boil frames, pathLength=1, stroke-dashoffset = 1 − progress; progress is computed on rAF from scroll/resize/ResizeObserver as the share of the block past the 55% screen mark. Knots are dots at the top of each sheet, popping when the thread reaches them; labels caption the knots vertically. Fonts via <link precedence>, palette --vibeui-sketch-018-* with light-dark, reduced-motion shows everything at once. Doodles: a pair of names per sheet from film, frame, coffee, clock, glasses, lens, heart, chat, coin, tag, phone, calendar, star, camera — strokes in a 48×48 box with the same sketch, the left one at the knot, the right one mirrored on the right rail (shown together with the left from 64rem); strokes draw in one by one (pathLength, dashoffset delayed by --k×120ms) once progress reaches the knot.
Tags
- sketch
- hand-drawn
- handwritten
- doodle
- rough
- boil
- scroll
- reveal
- transition
- page
- wrapper
- layout
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…