Skip to content
Pebble Pro is here at $49 one timeSee what’s included ↗
Pebble
ComponentsDocsMCPPricing
⌕ Find a component↗Log in
All components 673

Categories

Core inputs & forms46Buttons & actions33Navigation36Overlays & feedback49Data display33Charts & data viz40Cards & layout43Marketing blocks38App shells & pages37AI interfaces40Text & typography effects33Backgrounds & visual effects38Motion & transitions32Numbers & counters32Media34E-commerce333D & interactive36Themed sets40
Start with the essentials.Installation guide ↗Connect your agent ↗
← All componentsE-commerce

Promo Banner

Promotional banners as a sticky top bar or a large card, with a calm countdown, a copyable code chip, dismiss, and a pausable rotating-messages variant.

Preview

Free shipping on orders over $60
Shop now

Scroll this frame: the bar stays pinned to the top.

Autumn studio sale: 20% off everything in Home
Ends in02d06h30m
Flash sale on kettlesOur pour-over kettles at their lowest price this year.
Ends in05h00mSee kettles

Install

Pro source requires Pebble Pro. Try the full preview above.

Props

PropTypeDefaultDescription
message / intervalReactNode | ReactNode[] / number— / 5One message, or several that rotate every interval seconds (pausable).
codestring—Promo code as a copyable chip.
endsAtDate | number | string—Countdown; seconds only show in the last hour.
nowDate | number | string—Time to count from on first paint (deterministic); ticks advance from it.
cta{ label; href?; onClick? }—Link or button after the message.
onDismiss() => void—Shows the dismiss button; called after the banner collapses.
variant / tone / sticky"bar" | "card" / "ink" | "accent" / boolean"bar" / "ink" / falseSlim bar or large card, colour, and pinning to the top.
labelstring"Promotion"Accessible name of the region.

Pro component

Try the full preview above. Editable source and build guides require Pebble Pro.

Buy Pebble Pro — $49How source access works ↗
Pebble

Small details.
Better interfaces.

React components to explore, make your own, and build on.

Library

  • Components
  • Installation
  • Pricing

Resources

  • For agents
  • About
  • Support

Legal

  • License
  • Terms
  • Privacy
  • Final sale

Built by Pebble

A product of Praxys Solutions LLC ↗

Pebble Pro is live

$49 one time, lifetime updates ↗