Build a hero for a small poetry publisher where the cursor writes a poem as it moves. Warm paper background #f3ede2 with faint ruled lines every 40px and a light SVG grain, ink #1d2a3a, rust accent #c2552d. Centre a 13px uppercase label "Hollow Reed Press, spring list", a serif headline "Poems that follow you home" (Iowan Old Style, Palatino, Georgia, 108px on desktop, 44px on phones) with "follow" in rust italic, a grey subline and two pill buttons, "Read the spring list" and "Clear the page". As the pointer moves, place the next word of "and the river kept talking long after the town went to sleep" at the pointer in 22px italic serif, rotated to the direction of travel and flipped so it never reads upside down. Drop a new word once the pointer has travelled 72% of the last word's width plus 16px. Use a pool of 46 absolutely positioned spans moved with transforms; each word fades in over 160ms, drifts up 14px and fades out over 1.9s, with river and sleep in rust. Set touch-action none so a finger drag writes too, and after 2.2s idle let a ghost pointer trace a slow figure of eight. Clear the page fades every word at once. For reduced motion show the line as one still italic sentence.
Written by Informeek Studio to recreate this design. Prompts are not deterministic, so running it again gives a similar result, not an identical one.
Use it in three steps
- Copy the prompt with the button above.
- Paste it into your AI site builder, or any AI chat that writes code.
- Make it yours by swapping the verse for a line from your own book, menu or manifesto.
About this text cursor trail
A text cursor trail turns the pointer into a pen. Instead of dots or sparkles, each movement lays down the next word of a poem, turned to follow the direction you are moving, so a sweeping gesture writes a curving sentence across the page. Words fade and lift away after about two seconds, which keeps the page clean however much someone plays with it.
The spacing is what makes it readable. A new word only appears once the pointer has travelled most of the width of the last one, so fast movement spreads the sentence out and slow movement keeps it tight. Words are also flipped when you move leftwards, so nothing ever sits upside down.
Why the prompt works
- It defines the spacing rule, 72 percent of the last word plus 16 pixels, the number that stops words piling up.
- It reuses a fixed pool of 46 spans, so the page never fills with nodes.
- It covers touch and idle, a finger drag writes and a ghost pointer takes over after 2.2 seconds.
- It gives a calm reduced motion version, the line printed once.
Where to use it
Publishers, bookshops, writing tools and portfolio intros where the words themselves are the product. Keep the sentence short enough to finish in a few gestures.
The prompt is shared under CC BY 4.0. Reuse it freely, including commercially, with a credit linking back to this page.