Atelier UI

Search components…

Search components…

CTA Banner

Call-to-action banner with a soft glow and dotted pattern, centered or left aligned.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

CtaBannerProps

Also accepts all props of Omit<React.ComponentProps<"section">, "title">

PropTypeDefaultDescription
title* requiredReact.ReactNode——
descriptionReact.ReactNode——
primaryAction* requiredAction——
secondaryActionAction——
glowColorstring"#f97316"Color of the glow behind the banner
showPatternbooleantrueDotted pattern over the banner
align"center" | "left""center"—

Install

$ npx shadcn@latest add https://chromotion.dev/r/cta-banner.json

The CLI installs the base component; your customizations live in the code generated on the Customize tab.

More like this