Skip to content
Viewership Inquire
Astro UI

Feature Alternating.

Image and copy rows that swap sides as you scroll, for features that each deserve a picture.

FeaturesSectionNo dependencies Original, MIT

.md
Topographic contour map

Made

Mapped from the mill to your pack.

Every product page lists where the fabric was woven, cut and sewn, with the batch number printed inside the lid.

See our mills
Halftone sun over the horizon

Tested

Carried for a season before it ships.

Guides take each prototype out from first thaw to first snow, then tell us what broke.

Meet the crew
Style

Using Claude Code? Give it the agent prompt and skip these steps.

  1. Import the foundation once

    foundation.css holds the tokens every component reads.

    Layout.astro
    ---
    // src/layouts/Layout.astro
    import "../styles/foundation.css";
    ---
  2. Copy FeatureAlternating.astro

    Paste into src/components/viewership/feature-alternating/

  3. Use it

    Page.astro
    ---
    import FeatureAlternating from "../components/viewership/feature-alternating/FeatureAlternating.astro";
    ---
    
    <FeatureAlternating />

Props 4

PropTypeDefaultDescription
title string · Optional section headline. Without it, row titles use `as`.
accent string · Closing words of the headline.
items { title: string; body: string; image: { src; alt; width?; height? }; kicker?: string; link?: { label; href } }[] · Rows, in order. Even rows put the image on the right.
as "h2" | "h3" "h2" Heading element.

Source 1 file

Original, MIT.