A pinned headline wraps a small glowing window into another world; scrolling zooms the window open until it fills the screen and the destination copy, stats and call to action rise in. Under reduced motion it renders as a static headline above the open scene.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { ScrollZoomPortal } from "@/components/hyperblur-pro/scroll-zoom-portal"
<ScrollZoomPortal />| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "Expedition No. 07" | Small label at the top of the stage. |
| titleTop | string | "Step through" | First headline line, sits above the portal. |
| titleBottom | string | "the horizon" | Second headline line, sits below the portal. |
| portalLabel | string | "Gate 07 · Ultraviolet Coast" | Chip pinned to the portal frame. Empty string hides it. |
| scrollHint | string | "Scroll to enter" | Animated hint at the bottom before scrolling starts. |
| revealEyebrow | string | "Now boarding" | Label above the revealed title. |
| revealTitle | string | "A coastline that only exists after dusk." | Title shown once the portal is fully open. |
| revealText | string | "Drift between floating stations..." | Paragraph under the revealed title. |
| stats | { value: string; label: string }[] | 3 sample stats | Stat tiles in the revealed panel. Empty array hides them. |
| cta | { label: string; href: string } | null | { label: "Plan your crossing", href: "#" } | Call to action in the revealed panel. Pass null to hide it. |
| accent | string | "#22d3ee" | Accent color for the frame glow, sky tint, grid and progress bar. |
| height | number | 320 | Total scroll length of the section in vh. |
| stageHeight | string | "100vh" | Height of the pinned stage, any CSS length such as 100svh. |
Source code is included in Pro and above