Back to components
ComponentBannerFree

Floating Promo Pill React component

A small offer that floats near the bottom of the page and opens on hover or focus to show the details and a button, without covering the content.

About the Floating Promo Pill component

Floating Promo Pill keeps an offer in view without taking over the page. It sits small and quiet near the bottom, then opens when someone points at it to show the details and a button.

It works from the keyboard too, and it stays out of the way of whatever people came to read.

When to use it

Use it for a short-lived offer or a single nudge on long pages.

One floating element is enough. Don't stack it with chat buttons and cookie notices in the same corner.

Installation

Add the Floating Promo Pill component to your project with the shadcn CLI. It lands in components/floating-promo-pill.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/floating-promo-pill

Related components

New Feature Spotlight Bar
Free
Corner Ribbon
Free
Language Suggestion Banner
Free
Incident Status Banner
Free
Smart App Banner
Free
Branching Logic Explorer
Free