Sections / Gems / Image and video motion heroes

Tide Line

Two pictures or videos stacked and split by a living waterline. The line swells and breathes, rises with the page as it scrolls, follows the pointer and ripples where the pointer crosses it, and the band just under it refracts the lower picture like the thick edge of a lens. For before and after, day and night, visible and thermal, product and in use.

Included with Everything
Open the demo
Tide Line: six frames of the gem in motion
Kind
Image and video motion heroes
Interaction
autoplay swell · pointer follow · scroll linked · ripples · slider · video or image · canvas
Dependencies
None
Licence
Licensed with Full Access, for the sites you build; do not resell the gem itself

Formats

  • Webflow (native)
  • Figma (layers)
  • Framer component
  • HTML
  • Prompts for Claude Code, Cursor, Lovable, v0, Bolt

Copy to Webflow pastes a native section with the gem in an Embed inside it. Copy to Figma pastes a frame of its best moment, text and controls as layers. Copy to Framer pastes a component with its options as controls. HTML is one self-contained snippet. Each prompt (Claude Code, Cursor, Lovable, v0, Bolt) carries the exact files, so your agent installs this gem, not a lookalike. With the MCP server, ask your agent for get_section("tide-line").

Behaviour and accessibility

  • The handle on the line is a labelled vertical slider: arrow keys, Page Up and Down, Home and End move the line, and its value says which layer is above and below.
  • The pictures are one image role named with both layers' descriptions; real copy you put inside stays in the DOM above them.
  • Mouse and pen: the line follows the pointer while it is over the gem and settles back when it leaves; on touch, drag the handle and the page still scrolls.
  • Video layers play muted and inline, pause off screen and in a background tab, and drawing stops with them.
  • With prefers-reduced-motion: a flat, still line, no ripples or easing, and videos hold their first frame.

Options

OptionTypeDefaultWhat
aboveTideLayer{"src":"https://frontiertemplates.com/gems/tide-line/assets/port.webp","alt":"A container port at dusk, cranes lit above still water","label":"Visible"}The layer above the line.
belowTideLayer{"src":"https://frontiertemplates.com/gems/tide-line/assets/port-thermal.webp","alt":"The same port as a thermal image, lights and ships glowing against a cold river","label":"Thermal"}The layer below the line.
levelnumber0.56Where the line rests, 0 (top) to 1 (bottom).
swellnumber9Height of the swell in px. 0 is a flat, still line.
bandnumber0Height of the refracting band under the line in px; 0 sizes it from the box.
scrollnumber0.3How far the line travels as the element scrolls through the viewport (share of its height). 0 turns it off.
followbooleantrueThe line follows the pointer while it is over the gem (mouse and pen). Dragging works either way.
controlsbooleantrueShow the labels at the line and the handle.
labelstring"Waterline"Accessible name of the slider that moves the line.
onChange(level: number) => voidCalled when the resting level changes from a drag, a key or the handle.