---
title: "Text Circular"
description: "Text set around a circle that turns slowly, with your content in the middle, such as a Scroll down badge."
url: https://gelatinui.com/components/text-circular
markdown_url: https://gelatinui.com/components/text-circular.md
access: free
install: "npx shadcn@latest add @gelatin-ui/text-circular"
registry_item: https://gelatinui.com/r/text-circular.json
version: "2026-11-14"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Text Circular

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

Page: https://gelatinui.com/components/text-circular

## When to use it

Best for: A small round badge with a short repeated line and an icon or a mark in the middle.

- 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.

## When not to use it

- For a line of text that runs across the page, use [Marquee](https://gelatinui.com/components/marquee.md).
- For a small static label, use [Badge](https://gelatinui.com/components/badge.md).

## Notes for agents

- `text` is a string; `children` is the middle content (an icon, a mark, a Button). Set the size on the root; the default is `size-32` (128px), with text at 13px.
- The text is an SVG `textPath` with `textLength` on the circle, so the letters spread to fill it once. A text longer than the circle gets a smaller size; it never runs over its start.
- Arabic and other joined scripts keep their joins: only the word spaces grow to fill the circle.
- `duration` is seconds per turn (default 20; 0 holds it still). `reverse` turns it counterclockwise.
- The turn stops off screen, in a hidden tab, while `paused` is true, and while a mouse is over it or keyboard focus is in it or on the link around it (`pauseOnHover`, default true). `paused`, `defaultPaused`, and `onPausedChange` are the controlled and uncontrolled pause.
- The ring is one image named by the text once: a repeated line ("Scroll down • Scroll down • ") reads "Scroll down". An `aria-label` prop wins.
- The turn is one CSS animation on `transform`: no JavaScript per frame and no render.

## Anatomy

```text
TextCircular
```

## API reference

### TextCircular

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `paused` | `boolean` |  | The pause of the user or the page (controlled). |
| `defaultPaused` | `boolean` |  | The first pause when `paused` is not given (uncontrolled). Default false. |
| `onPausedChange` | `function` |  | Called when the pause changes. |
| `pauseOnHover` | `boolean` |  | 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. |
| `text` | `string` |  | The text on the circle. End it with a separator ("Scroll down • ") so the loop reads well. |
| `children` | `ReactNode` |  | Content in the middle of the circle, such as an icon or a logo. |
| `duration` | `number` | 20 | Seconds for one turn. 0 stops it. Default 20. |
| `reverse` | `boolean` | false | Turn the other way (counterclockwise). |

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| TextCircular | `text-circular` | `data-paused`, `data-reverse`, `data-still` | `--circular-text-duration` |  |

## Usage

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.

```tsx title="scroll-badge.tsx"
import { ArrowDownIcon } from "@phosphor-icons/react/ssr";

import { TextCircular } from "@/components/text/text-circular";

export function ScrollBadge() {
  return (
    <a
      href="#work"
      className="inline-block rounded-full outline-none focus-visible:ring-3 focus-visible:ring-ring/50"
    >
      <TextCircular
        text="Scroll down • Scroll down • "
        duration={16}
        className="size-28 font-medium tracking-widest uppercase"
      >
        <ArrowDownIcon className="size-5" aria-hidden />
      </TextCircular>
    </a>
  );
}
```

## Compose

Rules:

- Compose the parts (`compose-parts`): Build each item from its named parts as children, and pass your text and icons in as parts.
- Every state is designed (`every-state`): Give each view of data its loading, empty, and error states: a skeleton in the final layout, an `Empty` with an illustration and one next action, and an error that says what failed and how to retry.

## Add it

```bash
npx shadcn@latest add @gelatin-ui/text-circular
```

It adds 20 registry items: 20 files, 2547 lines, and the npm packages `@mantine/hooks`, `clsx`, `motion`, `tailwind-merge`.

## For AI agents

- Every item, one file: https://gelatinui.com/llms.txt
- MCP server (`search_items`, `get_item`, `get_install_plan`): https://gelatinui.com/mcp

## Related

- [Marquee](https://gelatinui.com/components/marquee.md)
- [Badge](https://gelatinui.com/components/badge.md)

## Keyboard

| Keys | Action |
| --- | --- |
| Tab | Focus on a link or a button around the badge, or on a control in its middle, holds the turn until the focus leaves. |

## Motion

| Part | Motion |
| --- | --- |
| 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 |
