PixelDosa UI

Conversion CTA

A closing call-to-action section with composable actions and optional reassurance.

Ready to make room for better work?

Bring your team together and give the next idea a clear path forward.

No credit card required to start.

Installation

bash
npx shadcn@latest add @pixeldosa/conversion-cta

Requires `cn` at `@/lib/utils`. Pass functional links or buttons through `actions`; the block does not select or infer a conversion destination.

Usage

<ConversionCTA
  alignment="center"
  title="Ready to get started?"
  description="Bring your team together and move the next idea forward."
  actions={<Button>Get started</Button>}
  note="No credit card required."
/>

Props

PropTypeDefaultDescription
titlestring—CTA heading.
descriptionstring—Optional supporting copy.
actionsReact.ReactNode—Caller-supplied buttons or links.
notestring—Optional reassurance below the actions.
alignment"left" | "center""left"Content alignment.
classNamestring—Extra section classes.

why it's built this way

Engineering Notes

Keeps the CTA's content and actions as slots instead of owning navigation or checkout state, so the same section composes with native links, app-router links, or application actions. CVA provides a small alignment matrix, while a single content container preserves the hierarchy between headline, explanation, actions, and reassurance.

how it moves, and when it doesn't

Motion Notes

The section has no entrance or decorative animation; it should be available immediately when a visitor reaches the end of a page. Action controls remain ordinary consumer-supplied interactive elements with their own focus and feedback. Reduced-motion settings do not change the layout or hide content.