A scroll-driven hero where a giant word is cut out of a dark panel and the photograph or video behind shows through the letters. As you scroll, the cut-out swells from its thickest stem until the picture fills the screen, the image zooms in, a shade comes up for legibility and a closing statement fades in over the full-bleed frame. The mask is real SVG text, so the word stays crisp at any scale, and the real word stays in the DOM for screen readers. Pass an image or a video through src. Without JavaScript a clipped-text version of the photo stands in, and reduced motion shows the word cut-out without the scroll animation.
Included in Standard and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { ImageMaskTypeHero } from "@/components/hyperblur-pro/image-mask-type-hero"
<ImageMaskTypeHero
word="Ocean"
src="/media/ocean.mp4"
poster="/media/ocean.jpg"
caption="Deeper than you think."
/>| Prop | Type | Default | Description |
|---|---|---|---|
| src | string | an Unsplash mountain photo | Image or video URL shown through the letters. Files ending in mp4, webm or mov play as muted looping video. |
| poster | string | undefined | Poster image for video sources. |
| brand | string | "Altura" | Wordmark in the nav. |
| links | string[] | ["Expeditions", "Journal", "Gear", "About"] | Nav links. |
| eyebrow | string | "Field notes / Alps" | Pill at the top. Empty string hides it. |
| word | string | "Summit" | The giant word used as the mask. Short words work best. |
| caption | string | "Above the clouds, nothing is in the way." | Statement revealed once the image fills the screen. |
| subtitle | string | "A word cut open on a real photograph..." | Paragraph at the bottom. |
| actions | { label: string; href?: string }[] | [{ label: "Plan an expedition" }, { label: "Read the journal" }] | Up to two buttons. The first one is filled. |
| accent | string | "#ffb26b" | Accent for the eyebrow dot, brand mark, button glow and focus ring. |
| ink | string | "#08090c" | Color of the panel around the letters. |
| scroll | string | "340vh" | Total height of the section, which sets how long the scroll animation lasts. |
Source code is included in Standard and above