Variants
Loading preview...

API Reference

Props for <RotatingTextBadge />

S

Motion score

Compositor-only

Category
Buttons
Framework
React
Published
Nov 27, 2026
Dependencies
Variants

Rotating Text Badge: a rotating text animation for React

A round badge with a wavy edge, a shopping bag icon at its center and BUY NOW repeated around its rim. The ring of text turns around the icon, so the badge catches the eye without a word of extra copy.

Use Rotating Text Badge as a call to action for a shop, a sale or a sign-up, where a standard button feels too plain. It's a Free React component for Next.js, Vite and Astro with Tailwind CSS v4. More in this category.

What is Rotating Text Badge?

Rotating Text Badge is a rotating text animation for React that wraps a short message around a circular badge. The text runs around the rim while an icon sits still in the middle, so the badge reads as one clear action.

How Rotating Text Badge works

The phrase repeats around the edge of the badge, separated by dots, and turns around the central icon. The wavy outline and soft shadow make it feel like a sticker on the page, which draws the eye to it without crowding the layout.

Customization options

Change the text on the rim, the center icon and the colors to match your offer. Open the Customize panel on the component page to try them in the live preview, save a look as a variant, then install it. After install, the source is yours to edit.

Use cases

  • Shop and product pages, with a BUY NOW or SHOP NOW badge next to the product.
  • Sales and launches, where a turning badge highlights a limited offer.
  • Portfolios and studios, with a badge such as GET IN TOUCH that links to a contact page.

FAQs