Back to components
ComponentBannerFree

Corner Ribbon React component

A diagonal ribbon for the corner of any card, in any of the four corners, with a band of light that passes along it now and then.

About the Corner Ribbon component

Corner Ribbon marks one card out from the rest with the classic diagonal band. Drop it inside anything with position relative and pick a corner.

A soft band of light passes along it every few seconds, just enough to catch the eye without becoming a distraction.

When to use it

Use it for Popular, New or Sale labels on pricing cards, products and listings.

Mark one item in a set. If every card has a ribbon, none of them stands out.

Installation

Add the Corner Ribbon component to your project with the shadcn CLI. It lands in components/corner-ribbon.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/corner-ribbon

More Banner components

Floating Promo Pill
Free
Incident Status Banner
Free
New Feature Spotlight Bar
Free
Smart App Banner
Free
Language Suggestion Banner
Free
Countdown Sale Banner
Free