Black Friday 40% off everything

Sale ends in

Hero 627 - Highlighter Passage Hero

Pro

A full-screen reading app hero where a marker sweeps coloured highlights across lines of a book page in sequence, and visitors can drag to add their own.

Shadcn Hero 627 block

Component data

ID
hero627
Access
pro
Created
Nov 12, 2026
Type
block
Libraries
Radix UI, Base UI, React Aria

Hero 627 block design & features

Hero627 is a full-screen reading app hero built with shadcn/ui and Motion. A heading, one line of description and two buttons sit beside a printed book page with a running head, a folio and a short passage set large in a serif.

Highlights sweep across the passage one phrase at a time in yellow, pink and green, and each one runs line by line like a real marker, because the highlight is one continuous background that grows across the wrapped text. After a pause the page wipes clean and the reading starts again. Visitors can drag across any words to add a highlight in the next colour, and tapping a highlight removes it.

It suits reading apps, note-taking tools, e-readers, research products and publishers who want to show what it feels like to mark up a page. The page uses theme tokens, so it works in light and dark mode, and visitors who prefer reduced motion see the passage with its highlights already in place.