---
title: Astro Call to Action blocks
description: Call to action sections with a clear next step and optional supporting evidence.
seo:
    title: "Astro Call to Action blocks: examples and source"
related:
    - /components/cta-button
    - /blocks/hero
sidebar:
    label: "Call to Action"
---

## Centered

Center the invitation and keep its actions together.

```astro
---
import CallToActionBlock from "@/components/blocks/cta/cta-1.astro"
import { agentAvatars } from "@/lib/agent-avatars"
---

<CallToActionBlock
  title="Make a plan for the next seven days"
  description="Create a short weekly plan with an owner and a next step for each task."
  buttons={[
    {
      label: "Open the sample plan",
      href: "https://example.com/fieldwork/projects",
    },
    {
      label: "Read the planning guide",
      href: "https://example.com/fieldwork/projects",
      variant: "secondary",
    },
  ]}
  socialProof={{
    avatars: [
      { image: agentAvatars[0], initials: "LM", name: "Leila Moreno" },
      { image: agentAvatars[1], initials: "OP", name: "Owen Patel" },
      { image: agentAvatars[2], initials: "NC", name: "Nadia Chen" },
      { image: agentAvatars[3], initials: "EB", name: "Ellis Brooks" },
    ],
    rating: 5,
    text: "Fictional ratings for this example",
  }}
/>
```

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

## Split

Use separate columns for the invitation and its supporting content.

```astro
---
import Cta2Block from "@/components/blocks/cta/cta-2.astro"
import { agentAvatars } from "@/lib/agent-avatars"
---

<Cta2Block
  title="Bring your project notes together"
  description="Gather the brief, research notes, and open questions before your next team review."
  buttons={[
    {
      label: "Open the sample plan",
      href: "https://example.com/fieldwork/projects",
    },
    {
      label: "Read the planning guide",
      href: "https://example.com/fieldwork/projects",
      variant: "outline",
    },
  ]}
  socialProof={{
    avatars: [
      { image: agentAvatars[4], initials: "LM", name: "Leila Moreno" },
      { image: agentAvatars[5], initials: "OP", name: "Owen Patel" },
      { image: agentAvatars[6], initials: "NC", name: "Nadia Chen" },
    ],
    rating: 5,
    text: "Fictional ratings for this example",
  }}
/>
```

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

## Spread

Spread the message and actions across the section.

```astro
---
import Cta3Block from "@/components/blocks/cta/cta-3.astro"
import { agentAvatars } from "@/lib/agent-avatars"
---

<Cta3Block
  title="Set aside time for your next review"
  description="Choose the work for this week and write down the decisions that your team needs."
  buttons={[
    {
      label: "Open the sample plan",
      href: "https://example.com/fieldwork/projects",
    },
    {
      label: "Read the planning guide",
      href: "https://example.com/fieldwork/projects",
      variant: "secondary",
    },
  ]}
  socialProof={{
    avatars: [
      { image: agentAvatars[7], initials: "LM", name: "Leila Moreno" },
      { image: agentAvatars[8], initials: "OP", name: "Owen Patel" },
      { image: agentAvatars[0], initials: "NC", name: "Nadia Chen" },
      { image: agentAvatars[1], initials: "EB", name: "Ellis Brooks" },
    ],
    rating: 5,
    text: "Fictional ratings for this example",
  }}
/>
```

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

## Background

Place a short invitation on a background surface.

```astro
---
import Cta4Block from "@/components/blocks/cta/cta-4.astro"
import { agentAvatars } from "@/lib/agent-avatars"
---

<Cta4Block
  title="Choose a quieter start to the week"
  description="Start with a short list of tasks and leave room for the unexpected."
  buttons={[
    {
      label: "Open the sample plan",
      href: "https://example.com/fieldwork/projects",
    },
    {
      label: "Read the planning guide",
      href: "https://example.com/fieldwork/projects",
      variant: "outline",
    },
  ]}
  socialProof={{
    avatars: [
      { image: agentAvatars[2], initials: "LM", name: "Leila Moreno" },
      { image: agentAvatars[3], initials: "OP", name: "Owen Patel" },
      { image: agentAvatars[4], initials: "NC", name: "Nadia Chen" },
    ],
    rating: 5,
    text: "Fictional ratings for this example",
  }}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/cta-4
```

## Checklist

Add a short checklist before the next action.

```astro
---
import Cta5Block from "@/components/blocks/cta/cta-5.astro"
---

<Cta5Block
  title="Prepare for a useful planning session"
  description="Bring the current task list and one question that your team can answer together."
  features={[
    "Assign an owner to each task",
    "Keep review notes beside the project",
    "Track the next project milestone",
  ]}
  buttons={[
    {
      label: "Open the sample plan",
      href: "https://example.com/fieldwork/projects",
    },
    {
      label: "Read the planning guide",
      href: "https://example.com/fieldwork/projects",
      variant: "outline",
    },
  ]}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/cta-5
```

## Reversed

Reverse the content order to fit the surrounding sections.

```astro
---
import Cta6Block from "@/components/blocks/cta/cta-6.astro"
import { agentAvatars } from "@/lib/agent-avatars"
---

<Cta6Block
  title="Turn a rough outline into the next issue"
  description="Collect reader questions, prepare a draft, and choose a date for the next editorial review."
  buttons={[
    {
      label: "Read the editorial guide",
      href: "https://example.com/morrow/editorial-guide",
    },
    {
      label: "Browse the reading room",
      href: "https://example.com/morrow/editorial-guide",
      variant: "outline",
    },
  ]}
  socialProof={{
    avatars: [
      { image: agentAvatars[5], initials: "LM", name: "Leila Moreno" },
      { image: agentAvatars[6], initials: "OP", name: "Owen Patel" },
      { image: agentAvatars[7], initials: "NC", name: "Nadia Chen" },
    ],
    rating: 5,
    text: "Fictional ratings for this example",
  }}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/cta-6
```

## Tinted

Use a tinted surface to separate the invitation from adjacent content.

```astro
---
import Cta7Block from "@/components/blocks/cta/cta-7.astro"
import { agentAvatars } from "@/lib/agent-avatars"
---

<Cta7Block
  title="Share the next step with your team"
  description="Write down the next action so a teammate can continue the work."
  buttons={[
    {
      label: "Open the sample plan",
      href: "https://example.com/fieldwork/projects",
    },
    {
      label: "Read the planning guide",
      href: "https://example.com/fieldwork/projects",
      variant: "secondary",
    },
  ]}
  socialProof={{
    avatars: [
      { image: agentAvatars[8], initials: "LM", name: "Leila Moreno" },
      { image: agentAvatars[0], initials: "OP", name: "Owen Patel" },
      { image: agentAvatars[1], initials: "NC", name: "Nadia Chen" },
      { image: agentAvatars[2], initials: "EB", name: "Ellis Brooks" },
    ],
    rating: 5,
    text: "Fictional ratings for this example",
  }}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/cta-7
```

## Subtle

Keep the message short when the page has already explained the offer.

```astro
---
import Cta8Block from "@/components/blocks/cta/cta-8.astro"
---

<Cta8Block
  title="Ready to make a little room?"
  description="Begin with one project and a short note about what you want to finish."
  buttons={[
    {
      label: "Open the sample plan",
      href: "https://example.com/fieldwork/projects",
    },
    {
      label: "Read the planning guide",
      href: "https://example.com/fieldwork/projects",
      variant: "outline",
    },
  ]}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/cta-8
```

## Orbit call to action

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

```astro
---
import Block from "@/components/blocks/cta/cta-orbit/cta-orbit.astro"
import type { OrbitCtaContent } from "@/components/blocks/cta/cta-orbit/types"
const content = {
  title: "Your Next Chapter Starts with One Better Workflow.",
  buttons: [
    {
      label: "Find your first workflow",
      href: "/contact",
    },
    {
      label: "Meet the studio",
      href: "/about",
    },
  ],
  label: "Gnotch",
} satisfies OrbitCtaContent
---

<Block {content} />
```

```sh
bunx --bun shadcn@latest add @gnostic/cta-orbit
```

<AutoTypeTable path="../../packages/ui/src/components/blocks/cta/cta-orbit/types.ts" name="OrbitCtaProps" />

## Home services ticker

```astro
---
import Block from "@/components/blocks/cta/cta-remodify-ticker.astro"
const content = {
  labels: ["Make Room for Life", "Keep What You Love", "Make Home Yours"],
}
---

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

```sh
bunx --bun shadcn@latest add @gnostic/cta-remodify-ticker
```

## Choose a layout

Choose a CTA after the reader has enough information to act. State what happens next, such as viewing plans or sending an enquiry, instead of using a vague action label.

## Pass content from Astro

Pass the title, description, and button links required by the block. Some variants also accept avatars, a rating, and proof text. Use those fields only for accurate evidence and keep the main action clear.

## Responsive layout and images

Check the button row and heading on narrow screens. Optional avatars need real image sources or useful initials; they should not become unexplained decorative people. Theme contrast must remain sufficient on tinted CTA backgrounds.

## Compose the next section

Use [Pricing](/blocks/pricing) before a purchase action and [Contact](/blocks/contact) for an enquiry. A CTA link alone does not implement checkout or a form submission.
