Arc
ComponentsBlocksDocsPricingTry the demo
Get Pro
Introduction
Installation
Theming
Motion
AI and MCP
Changelog
Metrics dashboardPro
KPI drilldownPro
Metric explorerPro
Revenue explorerPro
MRR waterfallPro
Cohort retentionPro
Usage forecastPro
Journey flowPro
Uptime statusPro
Pivot builderNewPro
Choropleth explorerPro
Connected scatterPro
Horizon chartPro
Account healthPro
Market terminalPro
Budget variancePro
Small multiplesPro
Line replayPro
AI chatPro
AI composerPro
AI answerPro
Model pickerPro
Model arenaPro
Prompt studioPro
Document extractionPro
Agent memoryPro
AI side panelPro
AI inline editPro
Research runPro
AI insight cardPro
Catch upPro
AI feature launchPro
AI search barPro
AI setup wizardPro
Call insightsPro
Lead scoringPro
Agent runPro
Agent tasksPro
Agent approvalsPro
Agent routinesPro
Agent orchestratorPro
MCP serversPro
Knowledge basePro
Eval suitePro
Agent builderPro
Agent galleryPro
SidebarPro4
Page header
Command palette
Notification center
Selection toolbarPro
Empty states
Search resultsPro
Login and sign up5, free and Pro variants
Onboarding illustrationPro
OTP input
Multi-step formPro
Two-factor setupPro
Magic linkPro
Settings pagePro
Settings commandPro
Security settingsPro
Billing overviewPro
Usage billingPro
Cancel flowPro
Onboarding surveyPro
Spend alertPro
Team membersPro
Invite peoplePro
Team directoryPro
Roles and permissionsPro
Profile pagePro
API keysPro
WebhooksPro
IntegrationsPro
Environment variablesPro
Domain verifyPro
Webhook testerPro
Plan comparison
Pricing calculatorPro
Usage pricingPro
Cart drawerPro
Checkout summaryPro
Live checkoutPro
Seat managerPro
Credit top-upPro
Invoice studioPro
Wallet cardPro
Delivery trackerPro
Product listingPro
Product detailPro
Seat mapPro
Activity feedPro
Inbox triagePro
Support conversationPro
Support widgetPro
Help centerPro
Feature votingPro
File upload
Media playerPro
Week calendarPro
Availability pickerPro
Project boardPro
Gantt timelineNewPro
Release readinessPro
Kanban boardPro
Feedback boardPro
Smart schedulerPro
Task breakdownPro
Goal trackerPro
Hero section
Hero signupPro
Scroll storyPro
Spotlight gridPro
Feature bentoPro
Comparison table
Logo marquee
Studio perspectivesPro
Stats band
Changelog feed
FAQ section
Contact section
Team showcasePro
Blog grid
Site header
Site footer
CTA section
Newsletter signup
Activity terrainPro
Revenue globePro
Customer galaxyPro
Semantic zoomPro
Layout morphPro
Exploded viewPro
What’s new4 new
BlocksCTA section

CTA section

A call to action as a centered closing section, a split beside a setup card that completes itself, or a dismissible banner.

$pnpm dlx shadcn@latest add @uiarc/cta-section
Live block · sample data

When to use

  • The last section of a landing page, asking for a trial or demo.
  • An in-page prompt beside a product visual that shows the outcome.
  • A slim promotional banner above content.

When not to use

  • The first screen of a page. Use Hero section.
  • Collecting an email. Use Newsletter signup.
  • A persistent site-wide notice. Use Announcement bar.

Installation

Add CTA section with the shadcn CLI, or copy the source by hand.

$pnpm dlx shadcn@latest add @uiarc/cta-sectionpnpm dlx shadcn@latest add @uiarc/cta-section

Adds the block and its local dependencies, and installs motion, lucide-react. First time? Add the @uiarc registry to components.json, or use the full URL:

Usage

Use this to ask for a trial, demo or signup. Pass href or onClick to each action; edit sample copy in cta-section-data.ts. Buttons in the preview confirm in place.

example.tsx
1import { CtaSection } from "@/components/arc/blocks/cta-section/cta-section";2 3export function Closing() {4  return (5    <CtaSection6      variant="split"7      title="Your team, set up before lunch"8      primaryAction={{ label: "Create a workspace", href: "/signup" }}9      secondaryAction={{ label: "Book a demo", href: "/demo" }}10      points={["Import from any tracker", "SSO included", "Cancel anytime"]}11    />12  );13}
Built fromButtonSegmented control

API reference

CtaSection

A call to action in three shapes chosen by variant: a centered closing section, a split layout beside a product visual, and a compact dismissible banner.

PropTypeDefaultDescription
variant"centered" | "split" | "banner""centered"centered closes a page, split sits beside a setup card that completes itself, banner is one line with an action.
titlestring–Heading. Each variant has sample copy.
descriptionstring–One sentence under the heading.
primaryActionCtaAction–{ label, href?, onClick?, confirmedLabel? }. With href it renders a link; with neither href nor onClick it confirms in place.
secondaryActionCtaAction | null–Second action in centered and split. Pass null to hide it.
notestring"No credit card required"Small print under the actions in centered.
facesstring[]–Up to four avatar URLs beside the note in centered. Pass [] to hide them.
pointsstring[]–Benefit lines with checks in split.
visualReactNode–Replaces the split variant's setup card, for your own screenshot or component.
onDismiss() => void–Banner only. Shows the dismiss button and is called after the banner has closed.
classNamestring–Extra class on the section.

Keyboard interactions

Tab
Moves through the actions, then the dismiss button in the banner.
EnterorSpace
Runs an action or dismisses the banner.

Accessibility

  • Each variant is a section labelled by its heading.
  • Actions with href are real links; others are buttons. Simulated confirmations announce politely.
  • The dismiss button has the name "Dismiss"; the banner closes its gap so focus order stays clean.
  • The setup card is aria-hidden: the copy beside it carries the message.

Motion

  • Primary actions lean their arrow forward on hover; buttons press to .97 and morph their width when the label changes.
  • Split: the stage rises into view once, then the setup card ticks its three steps, fills its progress line, and slides in teammates' faces.
  • Banner: dismissing fades it, scales it to .98, and springs its height closed so the page below moves up smoothly.
  • Reduced motion shows the finished setup card and removes travel.

Responsive behavior

  • Split stacks copy above the visual below 860px container width.
  • Below 560px actions go full width and stack, and the banner puts its text above the action and dismiss button.
  • Headings scale with the container between 30px and 52px.

Performance

  • The setup card runs three timers once after it enters view; everything else is CSS transitions.
  • No images except up to four small avatars.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use centered at the end of a landing page, split mid page next to a relevant product state, and banner at the top of an app or docs page.
  • Pass href for real navigation. Leave both href and onClick out only for previews.
  • One primary and at most one secondary action. Keep labels to two or three words with a verb.
  • Edit cta-section-data.ts for the sample copy and the setup card content.
/components/blocks/cta-section/markdown

The full library index for assistants is at /llms.txt.

Related

Hero sectionBlockThree full screen SaaS heroes: a live dashboard rising from the bottom edge over a drifting mesh, a workflow graph that routes sample events node by node, and editorial type over a mesh gradient.Newsletter signupBlockAn email signup framed by a stack of past issues; subscribing drops the next issue, addressed to you, onto the front.Announcement barComponentA top banner that rotates messages, counts down, and collapses smoothly when dismissed.Pricing calculatorProBlockA seat slider and billing toggle drive plan cards with rolling prices and a moving recommended badge.

More like this in Pro

Explore Pro
Seat mapProBlockAn event seat picker with a curved concert hall map, price tiers, zoom and pan, sold, held and wheelchair seats, and a live summary with fees and a hold countdown.AI answerProBlockOne AI answer set like a clean article: it thinks, shows its sources as small cards with colored marks, and streams a formatted answer where every citation lights the sentence it supports. Copy, regenerate with options, rate, share, page through versions and ask a related question in place.Model pickerProBlockA model picker in one quiet pill: open it to choose from featured models with a one line note each, set the reasoning effort, or browse every other model by provider, and the pill swaps to your choice in place.
PreviousStats bandNextNewsletter signup
Arc · 134 block pagesllms.txt

On this page

  • Preview
  • When to use
  • When not to use
  • Installation
  • Usage
  • API reference
  • Keyboard
  • Accessibility
  • Motion
  • Responsive behavior
  • Performance
  • Notes for AI
  • Related
View as Markdown

Start building in minutes

Set up a workspace, invite your team, and ship the first project this week. Free for 14 days.

No credit card required