# Marketing CTA Section: Gradient CTA

A centered call to action set on a vivid gradient panel with a headline and button. A bright closing section for a homepage or feature page.

- Page: https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections/gradient-cta
- Collection: [Marketing](https://www.shadcn-ui-blocks.com/blocks/marketing), Free tier
- Group: [CTA Sections](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections/gradient-cta.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/marketing-cta-sections-gradient-cta
```

A free block: it installs with no account or key. Or install it by URL: `npx shadcn@latest add "https://www.shadcn-ui-blocks.com/r/marketing-cta-sections-gradient-cta.json"`.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: button
- Installs to: `@/components/blocks/marketing/cta-sections/gradient-cta`

## About this block

Gradient CTA is a centered call to action set on a soft gradient wash that
fades across the section background. At the top sits a small pill badge with
a sparkle icon and a short label announcing something new. Below it a large
headline and a supporting paragraph describe the offer. Two buttons sit
side by side at the bottom: a solid primary button and a lighter outlined
button for a secondary path.

All four pieces are independent. You can rewrite the badge text or remove
the badge entirely, swap the headline and supporting copy for your own
message, and relabel both buttons to match the actions you want visitors
to take.

## When to use

This block suits any moment near the end of a developer tools page where
you want to convert a reader who has already scanned the feature list and
is weighing an upgrade or a plan comparison. The gradient wash creates a
visual break without the weight of a full image or a dark panel, which
keeps the page feeling light and code focused. It works better than a
plain centered block when you need that soft visual emphasis, and better
than a split layout when the message stands on its own without a product
screenshot.

A natural flow around it on a Marketing (Legacy) page:

**Before**

- A [feature section](https://www.shadcn-ui-blocks.com/blocks/marketing/feature-sections) to present
  the capabilities visitors will unlock
- A [pricing section](https://www.shadcn-ui-blocks.com/blocks/marketing/pricing-sections) so readers
  arrive at this block already knowing the tiers

**After**

- A [stats block](https://www.shadcn-ui-blocks.com/blocks/marketing/stats) to reinforce scale and
  credibility below the conversion prompt
- The [FAQ CTA](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections/faq-cta) if lingering
  objections need one more answer before the signup

## What you can customize

The block has three distinct layers you can adjust independently:

- **Badge label and icon.** Swap the text to announce a launch, a beta
  program, or a limited availability window relevant to your product cycle.
- **Headline and supporting copy.** The heading scales from mobile to
  desktop automatically, so you can write a longer or shorter line without
  adjusting anything else.
- **Button labels and destinations.** Point the primary button at a
  signup or checkout route and the outline button at a pricing comparison
  or documentation page to give readers a clear path either way.

> Tip: keep the badge label short enough to read in one glance. Four to
> six words is the practical limit before the pill grows too wide on mobile.

## More in Marketing CTA Sections

- [Awards CTA](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections/awards-cta)
- [Banner With Background](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections/banner-with-background)
- [Case Study CTA](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections/case-study-cta)
- [Countdown Timer](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections/countdown-timer)
- [CTA With Testimonial](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections/cta-with-testimonial)
- [FAQ CTA](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections/faq-cta)
- [Feature Grid](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections/feature-grid)
- [Image With Text](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections/image-with-text)
- [Integrations CTA](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections/integrations-cta)
- [Newsletter Form](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections/newsletter-form)
- [Quick Contact CTA](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections/quick-contact-cta)
- [Simple Centered](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections/simple-centered)
- [Split With Image](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections/split-with-image)
- [Stats CTA](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections/stats-cta)
- [Tab CTA](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections/tab-cta)
- [Video CTA](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections/video-cta)
- [Zigzag CTA](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections/zigzag-cta)
