Skip to content
Viewership Inquire
Astro UI

Pricing Columns.

Plans side by side as cards, with the featured plan inverted onto ink.

PricingSection2 dependencies Original, MIT

.md

Repair plans, priced plainly.

Sample prices for a fictional gear brand.

  • Trail

    A single repair or refit, done at the bench.

    $180

    per pack

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

    Guides, schools and teams outfitting twelve or more people.

    • Fleet maintenance plan
    • On-site repair days
    • Custom colourways

Sample figures for demonstration.

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 PricingColumns.astro

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

  3. Copy its dependencies

    Each in its own folder, next to this one.

  4. Use it

    Page.astro
    ---
    import PricingColumns from "../components/viewership/pricing-columns/PricingColumns.astro";
    ---
    
    <PricingColumns />

Props 6

PropTypeDefaultDescription
title string · Section headline.
accent string · Closing words of the headline, drawn in the theme's accent style.
intro string · Supporting paragraph.
tiers { name: string; price: string; period?: string; description?: string; features: string[]; cta: { label; href }; featured?: boolean; badge?: string }[] · Plans. Two to four fit a row.
note string · Small print under the plans.
as "h2" | "h3" "h2" Heading element.

Source 1 file

Original, MIT.