Put the headline in the scene.
landing-hero.tsx
LayeredScene
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| range | "page""pin""view" | "page" | Where the scroll source counts from: view (default, the item's own pass through the view), page (the page scroll from its top, for a hero), or pin (the px a tall section with a sticky stage has pinned). See PARALLAX_RANGES. |
| container | RefObject<HTMLElement | null> | — | The scroll box, when the item scrolls inside one and not with the page. |
| pointer | boolean | — | Adds the pointer source: the layers drift toward the mouse over the item. Default false. |
| disabled | boolean | — | Rests every layer and stops the work. |
| seed | number | 7 | The seed of the ridges and trees: the same seed draws the same scene. Default 7. |
| fade | boolean | true | Fades the bottom of the scene into the page color. Default true. |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
Built with
Installs with Layered Scene
- Components
- Parallax











