Skip to content

Text Circular

Free

Text set around a circle that turns slowly, with your content in the middle, such as a Scroll down badge.

  • React 19
  • Tailwind CSS 4

Added Nov 14, 2026 · MIT + Commons Clause

Playground

Loading the preview

Props

Repeat a short line to fill the circle, put an icon in the middle, and wrap it in a link when a press does something.

scroll-badge.tsx

TextCircular

<div>
PropTypeDefaultDescription
pausedboolean—The pause of the user or the page (controlled).
defaultPausedboolean—The first pause when paused is not given (uncontrolled). Default false.
onPausedChange—Called when the pause changes.
pauseOnHoverboolean—Hold the motion while a mouse is over the item, or keyboard focus is on the link or button around it (or in it). Default true.
textRequiredstring—The text on the circle. End it with a separator ("Scroll down • ") so the loop reads well.
childrenReactNode—Content in the middle of the circle, such as an icon or a logo.
durationnumber20Seconds for one turn. 0 stops it. Default 20.
reversebooleanfalseTurn the other way (counterclockwise).
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • Repeat a short line two or three times and end it with a separator ("Scroll down • Scroll down • "): the letters spread to fill the circle once.
  • Set the size on the root (size-28, size-40): the text size follows it.
  • Put the badge in a link or a button when a press does something: the control takes its name from the text, read once.
  • For a line of text that runs across the page, use Marquee.
  • For a small static label, use Badge.
TabFocus on a link or a button around the badge, or on a control in its middle, holds the turn until the focus leaves.
Turn
none · one CSS `spin` animation on `transform`, linear, one turn every `duration` seconds (default 20s), not a motion token
Hold
none · the turn stops where it is off screen, in a hidden tab, on `paused`, and on hover or focus, and goes on from there
  1. AddedText Circular.
Open the release