Tapas UI
Esc
  • IntroductionGetting startedWhat Tapas UI is and where to start.
  • InstallationGetting startedSet up shadcn/ui and add your first section.
  • CLI & AI agentsGetting startedThe shadcn CLI, the @tapas namespace, the MCP server and AI prompts.
  • TemplatesGetting startedWhole pages built from sections, installed with one command.
  • Demo sitesGetting startedThree fictional sites built only from Tapas sections.
  • ThemingCustomizationHow sections pick up your colors and radius.
  • ColorsCustomizationEvery CSS variable sections read, what it is for and where it is used.
  • Dark modeCustomizationSections follow your .dark variables.
  • MotionCustomizationPlain and motion versions, reduced motion and pause controls.
  • AccessibilityCustomizationWhat every section guarantees.
  • Waitlist formsGuidesPost signups to your own API route and store them.
  • Checkout linksGuidesPoint pricing buttons at Stripe payment links or any URL.
Menu
Browse the docs

DocsMarketing

CTA banner

Full-width call-to-action band with a heading, text and one button.

Preview

Version
Preview theme color
More themes

A soft sheen sweeps across the band on hover or keyboard focus. With reduced motion turned on, it renders the plain layout.

Start building

Copy a section and make it yours.

Get started

Start building

Copy a section and make it yours.

Get started

Installation

Run this in a project that already uses shadcn/ui. It adds the component and anything it needs; the motion version also adds the plain one and the motion package.

Usage

import { CtaBanner } from "@/components/custom/cta-banner";

<CtaBanner
  title="Start building"
  description="Copy a section and make it yours."
  actionLabel="Get started"
  actionHref="/signup"
/>
import { CtaBannerMotion } from "@/components/custom/cta-banner/cta-banner-motion";

<CtaBannerMotion {...props} />

Props

PropTypeDefaultDescription
title* (required)string–Heading of the band.
actionLabel* (required)string–Button text.
actionHref* (required)string–Button link.
descriptionstring–One line under the heading.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.
PropTypeDefaultDescription
title* (required)string–Heading of the band.
actionLabel* (required)string–Button text.
actionHref* (required)string–Button link.
descriptionstring–One line under the heading.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.

Accessibility

  • The action is a plain link, so it works without JavaScript.
  • The motion version follows the visitor's reduced-motion setting and never hides content before it animates.