# Ecommerce Promo Section: Simple Banner

A slim promo banner with a short message and a link. Sits at the top of a store to announce free shipping, a running sale, or a fresh discount code.

- Page: https://www.shadcn-ui-blocks.com/blocks/ecommerce/promo-sections/simple-banner
- Collection: [Ecommerce](https://www.shadcn-ui-blocks.com/blocks/ecommerce), Free tier
- Group: [Promo Sections](https://www.shadcn-ui-blocks.com/blocks/ecommerce/promo-sections)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/ecommerce/promo-sections/simple-banner.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/ecommerce-promo-sections-simple-banner
```

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/ecommerce-promo-sections-simple-banner.json"`.

## Depends on

- npm packages: class-variance-authority, radix-ui
- shadcn/ui components: button
- Installs to: `@/components/blocks/ecommerce/promo-sections/simple-banner`

## About this block

Simple Banner is a full width call to action strip. A solid primary
background spans the entire container, and inside it a two line headline
sits on the left while two buttons, a solid secondary action and a ghost
secondary action, sit to its right on wider viewports. On smaller screens
the buttons stack below the heading.

The heading text and both button labels are independent, so you can swap
in any short message and point each link wherever you need. The two button
slots can be reduced to one if a single action covers your needs, and the
block works just as well at the top of a page as it does mid scroll.

## When to use

Reach for this block when you want a persistent, high contrast nudge that
does not interrupt the page flow. It is a natural fit for a product
analytics SaaS that needs to push a free trial prompt to users browsing a
pricing or feature page. Compared to a full bleed hero or a modal, this
strip is low cost visually and keeps users on the page rather than
redirecting attention entirely.

A natural flow around it on an Ecommerce page:

**Before**

- [Product Features](https://www.shadcn-ui-blocks.com/blocks/ecommerce/product-features) to let visitors
  understand the value before they see the conversion prompt
- [Customer Reviews](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-customer-reviews) so
  social proof lands right before the call to action

**After**

- [Trust Guarantee](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-trust-guarantee) to
  reassure visitors who clicked through but still need a confidence boost
- [Shipping Returns](https://www.shadcn-ui-blocks.com/blocks/ecommerce/ecommerce-shipping-returns) for
  practical details that close hesitant buyers

## What you can customize

All three text and link elements are straightforward to swap:

- **Primary headline.** The first line is the bold hook. Keep it short
  so it reads at a glance on mobile where it wraps to a narrow column.
- **Secondary headline.** The softer second line adds a little context or
  reinforces the main message without competing for attention.
- **Button pair.** The first button is the main action and the second is
  a lower commitment path. Swap labels and hrefs to match your funnel.

> Tip: because the strip uses the primary color token, it will
> automatically match your brand palette when you update your theme.

## More in Ecommerce Promo Sections

- [Centered Icon Promo](https://www.shadcn-ui-blocks.com/blocks/ecommerce/promo-sections/centered-icon-promo)
- [Centered Image Grid](https://www.shadcn-ui-blocks.com/blocks/ecommerce/promo-sections/centered-image-grid)
- [Centered Simple Promo](https://www.shadcn-ui-blocks.com/blocks/ecommerce/promo-sections/centered-simple-promo)
- [Countdown Timer Promo](https://www.shadcn-ui-blocks.com/blocks/ecommerce/promo-sections/countdown-timer-promo)
- [Fading Background Testimonial](https://www.shadcn-ui-blocks.com/blocks/ecommerce/promo-sections/fading-background-testimonial)
- [Full Width Large Content](https://www.shadcn-ui-blocks.com/blocks/ecommerce/promo-sections/full-width-large-content)
- [Image Aside](https://www.shadcn-ui-blocks.com/blocks/ecommerce/promo-sections/image-aside)
- [Large Image Split](https://www.shadcn-ui-blocks.com/blocks/ecommerce/promo-sections/large-image-split)
- [Multi Column Cards](https://www.shadcn-ui-blocks.com/blocks/ecommerce/promo-sections/multi-column-cards)
- [Split Offers](https://www.shadcn-ui-blocks.com/blocks/ecommerce/promo-sections/split-offers)
