Skip to content

Text Arc Path

Pro

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

  • React 19
  • Tailwind CSS 4

Added Nov 15, 2026 · Pro license

Playground

Loading the preview

Props

Needs your Pro API key in GELATIN_UI_PRO_TOKEN. Set it up

Pro itemAPI key required

Text Arc Path needs a Pro API key

Try the live preview for free. With Pro, the add command above puts the source in your project.

Files it adds
34
More Pro items, one API key
+327
Your coding agent runs it
1 cmd

$79$129once, for life

Already have Pro? Sign in to set up your API key.

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

store-hero.tsx

TextArcPath

<div>
PropTypeDefaultDescription
draggableboolean—A pointer drag moves the band, and a release throws it. Default true.
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. For a loop, end it with a separator ("Free shipping • "), so the copies read well.
bendnumber—The bend in em: how far an arc rises (negative dips), or how far a wave goes up and down.
wavelengthnumber—The length of one wave, in em (wave). Default 10.
path—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.
fitboolean—Still text: space the letters to fill the whole path. Not for a script that joins its letters.
loopboolean—Run the text along the path as a band, with no end.
speednumber—How fast the band runs, as a multiplier of the designed pace. Default 1.
reverseboolean—Run the band to the end of the path, not to its start.
scrollBoostnumber—The share of the page scroll speed that adds to the band speed. Default 0 (off).
fadeboolean—Fade the band out at the two ends of the box. Default: on for a loop.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • 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.
TabFocus on a link or a button around the band eases it to a stop until the focus leaves.
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
  1. AddedText Arc Path.
Open the release