Back to components
ComponentPricingFree

Pricing Spotlight Carousel React component

A looping plan carousel with one card in the spotlight: neighbours recede and blur, the active card glows in its own colour with a light that follows the pointer, and you can swipe, click or use the arrow keys.

About the Pricing Spotlight Carousel component

Pricing Spotlight Carousel shows one plan at a time without hiding the others: the active card stands in the spotlight with a glow in its own colour, while its neighbours recede, shrink and blur on either side.

Swipe, click a neighbour, use the arrows or dots or press the arrow keys, and it loops in both directions. A soft light follows the pointer across the active card.

When to use it

Use it on mobile-first pricing pages, product launches and when you have four or more plans that won't fit side by side.

When people need to compare plans at a glance, show them in a table.

Installation

Add the Pricing Spotlight Carousel component to your project with the shadcn CLI. It lands in components/pricing-spotlight-carousel.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/pricing-spotlight-carousel

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

Related components

Hanging Price Tags
Free
Flip Price Cards
Free
Volume Tier Graph
Free
Lifetime Deal Card
Free
Saved Facts Drawer
Free
Knowledge Source Map
Free