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: split

Call-to-action band with your product image or component beside the copy.

Preview

Version
Preview theme color
More themes

The media floats up and straightens as the band scrolls into view. With reduced motion turned on, it renders the plain layout.

Ready to see your own usage?

Start free and send your first event in five minutes. Sample copy.

Ready to see your own usage?

Start free and send your first event in five minutes. Sample copy.

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 { CtaSplit } from "@/components/custom/cta-split";

<CtaSplit
  title="Ready to see your own usage?"
  primaryAction={{ label: "Start free", href: "/signup" }}
  media={<img src={screenshotUrl} alt="The dashboard" />}
/>
import { CtaSplitMotion } from "@/components/custom/cta-split/cta-split-motion";

<CtaSplitMotion title="Ready?" primaryAction={{ label: "Start", href: "/signup" }} media={<Screenshot />} />

Props

PropTypeDefaultDescription
title* (required)string–Heading (h2).
primaryAction* (required){ label; href }–Filled button.
secondaryAction{ label; href }–Outline button.
media* (required)ReactNode–Image or component beside the copy.
descriptionstring–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 (h2).
primaryAction* (required){ label; href }–Filled button.
secondaryAction{ label; href }–Outline button.
media* (required)ReactNode–Image or component beside the copy.
descriptionstring–Line under the heading.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.

Accessibility

  • Give the media its own text alternative.
  • The motion version follows the visitor's reduced-motion setting and never hides content before it animates.