Skip to content
Hazine

Alternating rows

0 of 5 shipped. Nothing has shipped here yet. The list below is what this family will hold, and how each structure differs.

Planned 5

  • Alternating media rows

    Baseline zigzag: media alternates sides visually while copy always precedes media in the DOM, and on mobile every row stacks copy first, then media.

  • Alternating rows with view toggle

    Each row carries an independent state switch attached to its media, so the visitor compares two conditions of one feature in place; all states stay in the DOM with alt text and the frame keeps a fixed aspect ratio to avoid layout shift.

    Pro
  • Alternating rows with customer quote

    Each row embeds its own attributed quotation under the feature copy, so proof is distributed per feature instead of collected in a separate testimonial section.

    Pro
  • Sticky media with scrolling copy

    Scroll-linked: an IntersectionObserver sets the active copy block and crossfades the sticky media; with reduced motion the swap is instant, and on mobile each copy block gets its own inline media with no sticky behaviour.

    Pro
  • Alternating rows with section nav

    Adds wayfinding to the zigzag: a sticky scrollspy bar of anchor links with a current indicator, deep-linkable row ids, scroll margin that clears the sticky bar, and a horizontally scrolling bar on mobile.

    Pro