---
title: "Text Arc Path"
description: "Text sits on a curved arc, still or as a band that runs along it. People can drag and throw the band."
url: https://gelatinui.com/components/text-arc-path
markdown_url: https://gelatinui.com/components/text-arc-path.md
access: pro
install: "npx shadcn@latest add @gelatin-ui-pro/text-arc-path"
version: "2026-11-15"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Text Arc Path

> Text sits on a curved arc, still or as a band that runs along it. People can drag and throw the band.

Page: https://gelatinui.com/components/text-arc-path

## When to use it

Best for: A short line on a curve over a heading, or a curved band of repeated text at the edge of a section.

- Keep still text short: a text longer than its path gets a smaller size so that it fits.
- For a band (`loop`), end the text with a separator ("Free shipping • "), so the copies read well.
- With your own `path`, set a height on the root (`h-40`): the box gets no height from a custom path.

## When not to use it

- For the same effect with another look, use [Text Wave Path](https://gelatinui.com/components/text-wave-path.md).
- For a straight band of text or logos, use [Marquee](https://gelatinui.com/components/marquee.md).
- For text set on a turning circle, use [Text Circular](https://gelatinui.com/components/text-circular.md).
- For a band that moves with the page scroll, use [Text Scroll Marquee](https://gelatinui.com/components/text-scroll-marquee.md).

## Notes for agents

- Arc Text Path is Text Path with `curve="arc"` fixed: it takes every other Text Path prop and part.
- `path` is your own SVG path in px of the box, or a function of the box size (`{ width, height, fontSize }`). The path is drawn in px, so the text keeps the page font size at every width.
- Still text: `align` (`start`, `center`, `end`) places it, and `fit` spaces the letters over the whole path (not for joined scripts). A text longer than its path gets a smaller size.
- `loop` runs copies of the text along the path at 60px per second times `speed`. `reverse` runs it the other way. `fade` (default on for a loop) thins the ends.
- A band eases to a stop over 400ms off screen, in a hidden tab, on `paused`, and while a mouse is over it or keyboard focus is on the link around it (`pauseOnHover`, default true).
- `draggable` (default true): a pointer drag moves the band and a release throws it, eased out over 800ms. A finger can still scroll the page up and down (`touch-action: pan-y`).
- `scrollBoost` (default 0) adds a share of the page scroll speed to the band.
- The root is one image named by the text once; a band drops its trailing separator. An `aria-label` prop wins.

## Anatomy

```text
TextArcPath
```

## API reference

### TextArcPath

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `draggable` | `boolean` |  | A pointer drag moves the band, and a release throws it. Default true. |
| `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. For a loop, end it with a separator ("Free shipping • "), so the copies read well. |
| `bend` | `number` |  | The bend in em: how far an arc rises (negative dips), or how far a wave goes up and down. |
| `wavelength` | `number` |  | The length of one wave, in em (`wave`). Default 10. |
| `path` | `string \| function` |  | Your own path, in px of the box: an SVG path string, or a function of the box size. Set a height on the root (`className="h-40"`): the box has no height of its own with a custom path. |
| `align` | `"center" \| "end" \| "start"` |  | Where still text sits on the path: `start`, `center` (default), or `end`. |
| `fit` | `boolean` |  | Still text: space the letters to fill the whole path. Not for a script that joins its letters. |
| `loop` | `boolean` |  | Run the text along the path as a band, with no end. |
| `speed` | `number` |  | How fast the band runs, as a multiplier of the designed pace. Default 1. |
| `reverse` | `boolean` |  | Run the band to the end of the path, not to its start. |
| `scrollBoost` | `number` |  | The share of the page scroll speed that adds to the band speed. Default 0 (off). |
| `fade` | `boolean` |  | Fade the band out at the two ends of the box. Default: on for a loop. |

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| TextArcPath | `text-arc-path` |  |  |  |

## Usage

Set a short line on an arc over a heading, or run a band along a wave at the edge of a section.

```tsx title="store-hero.tsx"
import { TextArcPath } from "@/components/pro/text/text-arc-path";

export function StoreHero() {
  return (
    <section className="flex flex-col items-center gap-6 text-center">
      <TextArcPath
        bend={0.8}
        text="Hand-made in Ljubljana"
        className="w-md max-w-full text-sm font-medium tracking-widest text-muted-foreground uppercase"
      />
      <h1 className="text-5xl font-bold tracking-tight">Ceramics for slow mornings</h1>
      <div className="w-full bg-primary py-4 text-primary-foreground">
        <TextArcPath
          loop
          bend={0.3}
          text="Free shipping • New drops every Friday • "
          className="text-xl font-semibold"
        />
      </div>
    </section>
  );
}
```

## 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-pro/text-arc-path
```

It adds 36 registry items: 35 files, 6066 lines, and the npm packages `@base-ui/react`, `@mantine/hooks`, `@xstate/react`, `clsx`, `motion`, `tailwind-merge`, `xstate`.

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

- [Text Wave Path](https://gelatinui.com/components/text-wave-path.md)
- [Marquee](https://gelatinui.com/components/marquee.md)
- [Text Circular](https://gelatinui.com/components/text-circular.md)
- [Text Scroll Marquee](https://gelatinui.com/components/text-scroll-marquee.md)

## Keyboard

| Keys | Action |
| --- | --- |
| Tab | Focus on a link or a button around the band eases it to a stop until the focus leaves. |

## Motion

| Part | Motion |
| --- | --- |
| Band | none · the copies move along the path in each frame at 60px per second times `speed`, written to `startOffset` with no render |
| Stop and start | none · a hover, `paused`, or off screen eases the band speed to 0 over 400ms on the ease-out curve, and back the same way |
| Throw | none · a release keeps the drag speed and eases it out over 800ms, at most 40 times the band speed |
