Skip to content
Viewership Inquire
Astro UI

Pricing Rows.

One plan per ruled row with name, inclusions, price and action. Handles many plans and long lists.

PricingSection2 dependencies Original, MIT

.md

Pick your plan.

  • Trail

    One repair, done at the bench.

    • Stitching and seam tape
    • Zip and buckle swaps
    • Return shipping

    $180

    per pack

  • Expedition

    Fleets of twelve or more.

    • Fleet plan
    • On-site repair days
    • Custom colourways
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 PricingRows.astro

    Paste into src/components/viewership/pricing-rows/

  3. Copy its dependencies

    Each in its own folder, next to this one.

  4. Use it

    Page.astro
    ---
    import PricingRows from "../components/viewership/pricing-rows/PricingRows.astro";
    ---
    
    <PricingRows />

Props 5

PropTypeDefaultDescription
title string · Section headline.
accent string · Closing words of the headline.
intro string · Supporting paragraph.
tiers { name: string; price: string; period?: string; description?: string; features: string[]; cta: { label; href }; featured?: boolean }[] · Plans, one per row. The featured row is tinted.
as "h2" | "h3" "h2" Heading element.

Source 1 file

Original, MIT.