Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

Astro Call to Action blocks

Call to action sections with a clear next step and optional supporting evidence.

Centered

Center the invitation and keep its actions together.

Leila Moreno
LM
Owen Patel
OP
Nadia Chen
NC
Ellis Brooks
EB
Fictional ratings for this example

Make a plan for the next seven days

Create a short weekly plan with an owner and a next step for each task.

bunx --bun shadcn@latest add @gnostic/cta-1
npx shadcn@latest add @gnostic/cta-1
pnpm dlx shadcn@latest add @gnostic/cta-1

Split

Use separate columns for the invitation and its supporting content.

Bring your project notes together

Gather the brief, research notes, and open questions before your next team review.

Leila Moreno
LM
Owen Patel
OP
Nadia Chen
NC
Fictional ratings for this example
bunx --bun shadcn@latest add @gnostic/cta-2
npx shadcn@latest add @gnostic/cta-2
pnpm dlx shadcn@latest add @gnostic/cta-2

Spread

Spread the message and actions across the section.

Set aside time for your next review

Choose the work for this week and write down the decisions that your team needs.

Leila Moreno
LM
Owen Patel
OP
Nadia Chen
NC
Ellis Brooks
EB
Fictional ratings for this example
bunx --bun shadcn@latest add @gnostic/cta-3
npx shadcn@latest add @gnostic/cta-3
pnpm dlx shadcn@latest add @gnostic/cta-3

Background

Place a short invitation on a background surface.

Choose a quieter start to the week

Start with a short list of tasks and leave room for the unexpected.

Leila Moreno
LM
Owen Patel
OP
Nadia Chen
NC
Fictional ratings for this example
bunx --bun shadcn@latest add @gnostic/cta-4
npx shadcn@latest add @gnostic/cta-4
pnpm dlx shadcn@latest add @gnostic/cta-4

Checklist

Add a short checklist before the next action.

Prepare for a useful planning session

Bring the current task list and one question that your team can answer together.

  • Assign an owner to each task
  • Keep review notes beside the project
  • Track the next project milestone
bunx --bun shadcn@latest add @gnostic/cta-5
npx shadcn@latest add @gnostic/cta-5
pnpm dlx shadcn@latest add @gnostic/cta-5

Reversed

Reverse the content order to fit the surrounding sections.

Turn a rough outline into the next issue

Collect reader questions, prepare a draft, and choose a date for the next editorial review.

Leila Moreno
LM
Owen Patel
OP
Nadia Chen
NC
Fictional ratings for this example
bunx --bun shadcn@latest add @gnostic/cta-6
npx shadcn@latest add @gnostic/cta-6
pnpm dlx shadcn@latest add @gnostic/cta-6

Tinted

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

Share the next step with your team

Write down the next action so a teammate can continue the work.

Leila Moreno
LM
Owen Patel
OP
Nadia Chen
NC
Ellis Brooks
EB
Fictional ratings for this example
bunx --bun shadcn@latest add @gnostic/cta-7
npx shadcn@latest add @gnostic/cta-7
pnpm dlx shadcn@latest add @gnostic/cta-7

Subtle

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

Ready to make a little room?

Begin with one project and a short note about what you want to finish.

bunx --bun shadcn@latest add @gnostic/cta-8
npx shadcn@latest add @gnostic/cta-8
pnpm dlx shadcn@latest add @gnostic/cta-8

Orbit call to action

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

Gnotch

Your Next Chapter Starts with One Better Workflow.

bunx --bun shadcn@latest add @gnostic/cta-orbit
npx shadcn@latest add @gnostic/cta-orbit
pnpm dlx shadcn@latest add @gnostic/cta-orbit
PropType
contentOrbitCtaContent

Section content.

TypeOrbitCtaContent
class?string

Classes added to the root.

Typestring

Home services ticker

bunx --bun shadcn@latest add @gnostic/cta-remodify-ticker
npx shadcn@latest add @gnostic/cta-remodify-ticker
pnpm dlx 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 before a purchase action and Contact for an enquiry. A CTA link alone does not implement checkout or a form submission.