---
title: Pricing Blocks for Astro
description: "Astro pricing sections with plan details, feature lists, and action links."
seo:
    title: "Astro Pricing blocks: examples and source"
sidebar:
    label: "Pricing"
related:
    - /blocks
    - /components
    - /docs/astro-business-websites
mode: wide
---

## Plan cards

Present each plan with its price, included features, and action.

```astro
---
import Pricing1Block from "@/components/blocks/pricing/pricing-1.astro"
---

<Pricing1Block
  title="Compare three automation projects"
  description="Sample gnostic AI prices in USD. Each project covers one workflow."
  plans={[
    {
      name: "Workflow review",
      description:
        "Trace one request from arrival to assignment and identify the step worth testing.",
      price: 500,
      currency: "USD",
      unit: "project",
      features: [
        "Map the current handoff",
        "Name the queue owner",
        "Write a test brief",
      ],
      button: {
        label: "View the sample brief",
        href: "/blocks/contact#editorial-contact",
        variant: "outline",
      },
    },
    {
      name: "Routing pilot",
      description:
        "Test a queue assignment rule with clear and ambiguous support requests.",
      price: 1500,
      currency: "USD",
      unit: "project",
      features: [
        "Prepare three test tickets",
        "Compare expected and actual owners",
        "Route exceptions to a reviewer",
      ],
      button: {
        label: "Read the routing test",
        href: "/blocks/article#image-header",
      },
      featured: true,
    },
    {
      name: "Invoice intake pilot",
      description:
        "Check draft invoice records against a purchase order before approval.",
      price: 2500,
      currency: "USD",
      unit: "project",
      features: [
        "Extract the supplier and total",
        "Flag a disputed charge",
        "Check for duplicate invoices",
      ],
      button: {
        label: "Explore the invoice pilot",
        href: "/blocks/article#editorial-article",
        variant: "outline",
      },
    },
  ]}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/pricing-1
```

## Feature comparison

Show the price, included features, and action for each plan.

```astro
---
import Block from "@/components/blocks/pricing/pricing-feature-comparison.astro"

const content = {
  eyebrow: "gnostic AI · Sample pricing",
  title: "What does each project include?",
  description:
    "Choose a workflow to review, a routing rule to test, or an invoice record to check.",
  note: "Sample fees cover the work listed for one project.",
  plans: [
    {
      title: "Workflow review",
      description:
        "Trace one request from arrival to assignment and identify the step worth testing.",
      price: "$500",
      period: "per project",
      features: [
        "Map the current handoff",
        "Name the queue owner",
        "Write a test brief",
      ],
      action: {
        label: "View the sample brief",
        href: "/blocks/contact#editorial-contact",
      },
      badge: "Discovery",
    },
    {
      title: "Routing pilot",
      description:
        "Test a queue assignment rule with clear and ambiguous support requests.",
      price: "$1,500",
      period: "per project",
      features: [
        "Prepare three test tickets",
        "Compare expected and actual owners",
        "Route exceptions to a reviewer",
      ],
      action: {
        label: "Read the routing test",
        href: "/blocks/article#image-header",
      },
      badge: "Support",
      featured: true,
    },
    {
      title: "Invoice intake pilot",
      description:
        "Check draft invoice records against a purchase order before approval.",
      price: "$2,500",
      period: "per project",
      features: [
        "Extract the supplier and total",
        "Flag a disputed charge",
        "Check for duplicate invoices",
      ],
      action: {
        label: "Explore the invoice pilot",
        href: "/blocks/article#editorial-article",
      },
      badge: "Accounts",
    },
  ],
  integrations: [],
}
---

<Block {...content} />
```

```sh
bunx --bun shadcn@latest add @gnostic/pricing-feature-comparison
```

## Comparison

Keep plan details aligned so readers can compare the offers.

```astro
---
import Pricing2Block from "@/components/blocks/pricing/pricing-2.astro"
---

<Pricing2Block
  title="Review a workflow or test a routing rule"
  description="Compare the scope and sample prices of two gnostic AI projects."
  plans={[
    {
      name: "Workflow review",
      description:
        "Trace one request from arrival to assignment and identify the step worth testing.",
      price: 500,
      currency: "USD",
      unit: "project",
      features: [
        "Map the current handoff",
        "Name the queue owner",
        "Write a test brief",
      ],
      button: {
        label: "View the sample brief",
        href: "/blocks/contact#editorial-contact",
        variant: "outline",
      },
    },
    {
      name: "Routing pilot",
      description:
        "Test a queue assignment rule with clear and ambiguous support requests.",
      price: 1500,
      currency: "USD",
      unit: "project",
      features: [
        "Prepare three test tickets",
        "Compare expected and actual owners",
        "Route exceptions to a reviewer",
      ],
      button: {
        label: "Read the routing test",
        href: "/blocks/article#image-header",
      },
      compareAt: 1800,
    },
  ]}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/pricing-2
```

## Single offer

Give one offer room for a complete feature list.

```astro
---
import Pricing3Block from "@/components/blocks/pricing/pricing-3.astro"
---

<Pricing3Block
  badge="Sample pricing"
  title="Test invoice intake before connecting the live queue"
  description="This gnostic AI example shows a project price and the checks included in the pilot."
  offer={{
    name: "Invoice intake pilot",
    description:
      "Check draft invoice records against a purchase order before approval.",
    price: 2500,
    currency: "USD",
    unit: "project",
    features: [
      "Extract the supplier and total",
      "Flag a disputed charge",
      "Check for duplicate invoices",
    ],
    button: {
      label: "Explore the invoice pilot",
      href: "/blocks/article#editorial-article",
    },
  }}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/pricing-3
```

## Project plans

Supply your own content. The section uses the selected project preset.

```astro
---
import Block from "@/components/blocks/pricing/pricing-plan-cards/pricing-plan-cards.astro"
import type { PlanCardsContent } from "@/components/blocks/pricing/pricing-plan-cards/types"

const content = {
  label: "gnostic AI · Sample pricing",
  title: "Plan a support pilot",
  plans: [
    {
      title: "Workflow review",
      description:
        "Trace one request from arrival to assignment and identify the step worth testing.",
      price: "$500",
      period: "per project",
      features: [
        "Map the current handoff",
        "Name the queue owner",
        "Write a test brief",
      ],
      button: {
        label: "View the sample brief",
        href: "/blocks/contact#editorial-contact",
      },
    },
    {
      title: "Routing pilot",
      description:
        "Test a queue assignment rule with clear and ambiguous support requests.",
      price: "$1,500",
      period: "per project",
      features: [
        "Prepare three test tickets",
        "Compare expected and actual owners",
        "Route exceptions to a reviewer",
      ],
      button: {
        label: "Read the routing test",
        href: "/blocks/article#image-header",
      },
    },
  ],
} satisfies PlanCardsContent
---

<Block {content} />
```

```sh
bunx --bun shadcn@latest add @gnostic/pricing-plan-cards
```

<AutoTypeTable
    path="../../packages/ui/src/components/blocks/pricing/pricing-plan-cards/types.ts"
    name="PlanCardsProps"
/>

## Editorial pricing

Use this section for the pricing part of a studio site.

```astro
---
import Section from "@/components/blocks/pricing/pricing-editorial-cards/pricing-editorial-cards.astro"

const section = {
  label: "gnostic AI · Sample pricing",
  title: "From a workflow review",
  accent: "to a routing pilot",
  description:
    "Map the current handoff first, then test the rule on sample tickets.",
  plans: [
    {
      title: "Workflow review",
      description:
        "Trace one request from arrival to assignment and identify the step worth testing.",
      price: "$500",
      period: "per project",
      features: [
        "Map the current handoff",
        "Name the queue owner",
        "Write a test brief",
      ],
      action: {
        label: "View the sample brief",
        href: "/blocks/contact#editorial-contact",
      },
      featured: false,
    },
    {
      title: "Routing pilot",
      description:
        "Test a queue assignment rule with clear and ambiguous support requests.",
      price: "$1,500",
      period: "per project",
      features: [
        "Prepare three test tickets",
        "Compare expected and actual owners",
        "Route exceptions to a reviewer",
      ],
      action: {
        label: "Read the routing test",
        href: "/blocks/article#image-header",
      },
      featured: true,
    },
  ],
}
---

<Section {...section} />
```

```sh
bunx --bun shadcn@latest add @gnostic/pricing-editorial-cards
```

<AutoTypeTable
    path="../../packages/ui/src/components/blocks/pricing/pricing-editorial-cards/types.ts"
    name="PricingEditorialCardsProps"
/>

See [serif accent font setup](/ui/docs/installation#serif-accent-fonts-for-editorial-blocks) when installing this section.

## Package grid

```astro
---
import Block from "@/components/blocks/pricing/pricing-package-grid/pricing-package-grid.astro"

const content = {
  eyebrow: "gnostic AI · Sample pricing",
  title: "Choose a workflow to test",
  description:
    "Compare a support queue pilot with a document intake pilot. Each card links to the worked example.",
  featureLabel: "Included in the pilot",
  plans: [
    {
      title: "Routing pilot",
      description:
        "Test a queue assignment rule with clear and ambiguous support requests.",
      price: "$1,500",
      unit: "per project",
      features: [
        "Prepare three test tickets",
        "Compare expected and actual owners",
        "Route exceptions to a reviewer",
      ],
      action: {
        label: "Read the routing test",
        href: "/blocks/article#image-header",
      },
    },
    {
      title: "Invoice intake pilot",
      description:
        "Check draft invoice records against a purchase order before approval.",
      price: "$2,500",
      unit: "per project",
      features: [
        "Extract the supplier and total",
        "Flag a disputed charge",
        "Check for duplicate invoices",
      ],
      action: {
        label: "Explore the invoice pilot",
        href: "/blocks/article#editorial-article",
      },
    },
  ],
}
---

<Block {...content} />
```

```sh
bunx --bun shadcn@latest add @gnostic/pricing-package-grid
```

## Choose a pricing layout

Choose a pricing layout that lets readers compare the same facts across plans. Mark a featured plan only when there is a clear reason to recommend it.

## Pass content from Astro

Pass plan names, amounts, currency, billing unit, features, and button links. Explain recurring charges and limits in the content. The block displays prices; it does not calculate totals, manage subscriptions, or implement checkout.

## Responsive layout and images

Check how cards stack on a phone and keep plan names attached to their feature lists. Long currency values and translated billing units need extra space. Pricing usually needs clear text more than decorative imagery.

## Compose the next section

Use [FAQs](/ui/blocks/faqs) for common billing questions and [CTA](/ui/blocks/cta) for a single next step after a comparison.
