Skip to main content
BlocksCTACentred muted panel with two buttons

shadcn/ui CTA block for React AriaCentred muted panel with two buttons

A centred call-to-action panel for shadcn/ui built on a rounded muted surface. Heading, lead paragraph, a primary and an outline Button side by side, and a small-print line for trial terms. A safe default CTA to close any landing page.

Free@shadcnpro/aria/cta-01

Preview

Installation

npx shadcn@latest add @shadcnpro/aria/cta-01

First time? Add the @shadcnpro registry to components.json as shown in Installation. Free blocks install without a license key.

Let your AI editor install it

The shadcn/ui Pro MCP server lets Cursor, Claude Code and VS Code find and install blocks like Centred muted panel with two buttons from one prompt. It is included in every Pro plan.

Add the shadcn/ui components

Centred muted panel with two buttons uses Button, from the React Aria components set up in your components.json.

npx shadcn@latest add button

Copy the code

Paste it into components/blocks/cta-01.tsx.

components/blocks/cta-01.tsx
'use client';

import { Button } from '@/components/ui/button';

/**
 * Centred muted panel with heading, lead, a primary and an outline button side by side, and a small-print line.
 */
export default function Cta01() {
  return (
    <section className="w-full py-16 sm:py-24">
      <div className="mx-auto w-full max-w-6xl px-6">
        <div className="rounded-xl bg-muted px-6 py-14 text-center sm:px-12 sm:py-20">
          <p className="font-medium text-primary text-sm">Tempo for teams</p>
          <h2 className="mx-auto mt-3 max-w-2xl text-balance font-semibold text-3xl text-foreground tracking-tight sm:text-4xl">
            Stop guessing where the hours went
          </h2>
          <p className="mx-auto mt-4 max-w-xl text-pretty text-lg text-muted-foreground">
            Tempo turns tracked time into invoices your clients actually pay on
            time. Set up a studio in minutes, invite the team, and send your
            first invoice before the end of the week.
          </p>
          <div className="mt-8 flex flex-col items-center justify-center gap-3 sm:flex-row">
            <Button size="lg" type="button">
              Start free trial
            </Button>
            <Button size="lg" type="button" variant="outline">
              Book a walkthrough
            </Button>
          </div>
          <p className="mt-5 text-muted-foreground text-sm">
            Free for up to 3 people. 14-day trial on Team, no card required.
          </p>
        </div>
      </div>
    </section>
  );
}

Use it

Import it where you need it and update the import path to match your project.

Usage
import Cta01 from '@/components/blocks/cta-01';

export default function Page() {
  return <Cta01 />;
}

Overview

Centred muted panel with two buttons is a free cta block for shadcn/ui and React Aria. It is built from the Button component, and installs as a single file you own and can edit.

It only uses semantic tokens such as bg-background, text-muted-foreground and border-border, so it follows your theme, radius and fonts and switches with dark mode. It is responsive from desktop to mobile; the width controls above the preview show each size. The same layout is in the shadcn/ui Pro Figma kit, so design and code start from one source.

Category
CTA
Component library
React Aria (react-aria-components)
Also available for
Radix UI, Base UI
Built with
Button
npm packages
None
Files
components/blocks/cta-01.tsx
Access
Free, installs without a license key

Frequently asked questions

Pricing, installation and React Aria details for Centred muted panel with two buttons.