Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Call to Action Blocks for Astro

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

Which task should you automate first?

Follow a support request through the gnostic AI sample pilot, from arrival in the inbox to assignment.

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

Centered actions

Place one or more actions over a full-width image.

Mountain ridge beyond a lake

gnostic AI · Workflow review

Pick one handoff to improve

bunx --bun shadcn@latest add @gnostic/cta-centered-actions

Illuminated

A soft light highlights the top of the card. Use the note below the links for trial terms or other details that help readers choose an action. The layout adapts Blank Design’s CTA 01.

Route a ticket before you connect the inbox

Try a billing question and a setup question in the gnostic AI sample. Compare each assignment with the queue your team would choose.

For the first test, use sample tickets with a known destination.

bunx --bun shadcn@latest add @gnostic/cta-illuminated

Split

Use separate columns for the invitation and its supporting content.

Trace a request from inbox to owner

Use the gnostic AI inquiry example to describe who receives a request, where they record it, and who takes the next step.

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

Spread

Spread the message and actions across the section.

Try the rule on a difficult ticket

A message about both billing and setup can match two queues. See how the gnostic AI sample handles the exception.

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

Background

Place a short invitation on a background surface.

Find the invoices that need a second look

Use the gnostic AI example to describe what a reviewer checks when an invoice total differs from the purchase order.

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

Checklist

Add a short checklist before the next action.

Bring one workflow to the review

Use this checklist to prepare a brief for the gnostic AI sample project.

  • Bring one request that followed the usual path
  • Include one request that needed a decision
  • Name the person who checked the result
bunx --bun shadcn@latest add @gnostic/cta-5

Reversed

Reverse the content order to fit the surrounding sections.

Check a draft before it reaches a customer

In the gnostic AI example, a support agent checks each suggested reply against the original question and the product notes.

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

Tinted

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

Give the review queue an owner

Use the gnostic AI sample to decide who handles an unclear request and how to return it to the queue.

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

Subtle

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

What would make the pilot worth keeping?

Use the gnostic AI example to choose one result to measure before the first test run.

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

Orbit call to action

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

gnostic AI · Document intake

Plan your first document intake pilot

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

Section content.

TypeOrbitCtaContent
class?string

Classes added to the root.

Typestring

Scrolling ticker

bunx --bun shadcn@latest add @gnostic/cta-scrolling-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.

Named slots

These slots are optional. Use the slot name on a direct child of the block.

cta-orbit

PropType
mark?Astro content

Places a mark before the label above the heading.

TypeAstro content

dark-pattern-section and pattern-cta

PropType
pattern?Astro content

Places decorative content behind the call to action.

TypeAstro content