# Marketing Banner: Region Banner

A bordered card row pairing a globe icon and detected location lead with a primary switch button beside a quiet stay option.

- Page: https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners/region-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-10
- Preview image: https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners/region-banner.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/marketing-pro-banners-region-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/region-banner`

## About this block

Region Banner offers a visitor the site built for where they are. A bordered
card row opens with a globe icon square, carries a detected location lead in
semibold followed by the reason to switch in muted text, and closes on the right
with a primary button to change sites beside a quiet option to stay. The lead
names the place first so the visitor understands the offer before reading why it
might suit them better.

The markup is static, so the banner renders as a server component with no client
code out of the box. Wire the detection to your locale logic and the two buttons
to the choice, then swap the copy freely: change the country, rewrite the reason,
and set both actions to your routes. The bordered card surface keeps it inline,
so it can sit above the page as a suggestion rather than a redirect that decides
for the visitor.

## When to use

Reach for this block when a visitor lands on a site that is not the closest fit
for their region and you want to offer the local one without forcing it. It
works well near the top of a page, where the choice is visible before the
visitor commits to reading, and the stay option keeps the decision theirs. Naming
what the local site adds, prices in the right currency or realistic delivery
times, makes the switch read as a service rather than a nag.

A natural flow around it on a Marketing Pro page:

**Before**

- [Navbars](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/navbars) when the banner rides above the page
  as a first suggestion

**After**

- [Localization Sections](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/localization-sections) that lay
  out the full set of regional sites and languages
- [Pricing](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/pricing-sections) where the local currency the
  banner promised then shows up

## What you can display

The obvious fit is a switch to your country site prompt. A few other ways to use
the frame:

- **A currency offer.** Lead with the detected region and let the reason name
  prices in the local currency.
- **A language nudge.** Suggest the site in the visitor's language and keep the
  stay option for readers who prefer the original.
- **A shipping note.** Name the region and promise local delivery estimates as
  the reason to make the switch.

> Tip: always keep the stay option next to the switch, a suggestion the visitor
> can decline reads as help while an automatic redirect reads as a loss of
> control.

## 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)
- [Referral Banner](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/banners/referral-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)
