# Marketing Banner: Referral Banner

A muted row with a gift icon square, a give and get lead with reward terms, a mono referral link field, and a copy button.

- Page: https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners/referral-banner
- Collection: [Marketing](https://www.shadcn-ui-blocks.com/blocks/marketing-pro), Standard tier
- Group: [Banners](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners/referral-banner.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/marketing-pro-banners-referral-banner
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: button
- Installs to: `@/components/blocks/marketing-pro/banners/referral-banner`

## About this block

Referral Banner puts a share link in front of a happy customer at the moment
it matters. A rounded muted row opens with a Gift icon square, carries a bold
give and get lead followed by the reward terms in muted text, and closes with
the personal referral link in a mono field beside a Copy button. The mono
field reads as something to lift and share, and the copy action sits right
next to it so the whole exchange is one click.

The markup is static, so the banner renders as a server component with no
client code out of the box. Wire the Copy button to the clipboard in your app
to make it live, and swap the rest freely: rewrite the give and get lead, edit
the reward terms, and drop in each member's own link. The muted surface keeps
it inline, so it sits between sections without reading as an interruption.

## When to use

Reach for this block on surfaces a satisfied member already trusts, an account
page, an order confirmation, or a thank you after an upgrade. It works because
it asks for a share when goodwill is highest and makes the reward mutual, so
the person passing the link gains as much as the friend who takes it. Keep the
terms plain and symmetrical so the offer reads as a favor rather than a pitch.

A natural flow around it on a Marketing Pro page:

**Before**

- [Testimonials](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/testimonials) where a member has just
  said why they stay
- [Pricing](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/pricing-sections) that sets the value of the
  free month on offer

**After**

- [Affiliate Sections](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/affiliate-sections) for members
  who want a formal program beyond a single link
- [FAQs](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/faqs) to answer how the reward applies and when
  it lands

## What you can display

The obvious fit is a give a month, get a month link. A few other ways to use
the frame:

- **A credit reward.** Name a fixed account credit for each side and keep the
  link the way to claim it.
- **A tiered perk.** Promise a bigger reward at a milestone and let the terms
  line spell out the steps.
- **A launch invite.** Hand early members a link that grants a friend priority
  access rather than a discount.

> Tip: name what both sides get in the lead, a mutual reward shares far better
> than a one sided credit that only pays the sender.

## More in Marketing Banners

- [Announcement Bar](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners/announcement-bar)
- [App Download Banner](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners/app-download-banner)
- [Bottom Docked Banner](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners/bottom-docked-banner)
- [Countdown Banner](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners/countdown-banner)
- [Dismissible Announcement Bar](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners/dismissible-announcement-bar)
- [Email Capture Banner](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners/email-capture-banner)
- [Feedback Banner](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners/feedback-banner)
- [Integration Banner](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners/integration-banner)
- [Live Signups Banner](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners/live-signups-banner)
- [Promo Band With Cta](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners/promo-band-with-cta)
- [Region Banner](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners/region-banner)
- [Sale Banner Dark](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners/sale-banner-dark)
- [Scheduled Maintenance Banner](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners/scheduled-maintenance-banner)
- [Update Banner With Badge](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners/update-banner-with-badge)
- [Upgrade Banner](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners/upgrade-banner)
- [Webinar Banner](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners/webinar-banner)
