Skip to content

Text Elastic Letters

Pro

Grab a letter and drag it: its neighbors follow like a chain of springs, and all of them spring home on release.

  • 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 Elastic Letters 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
21
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.

Put it inside a heading around the word people can stretch.

The sample also uses Button. One command adds them with this item:

landing-hero.tsx

TextElasticLetters

<span>
PropTypeDefaultDescription
localestring—The BCP 47 locale for the letter and word split (Intl.Segmenter). Default: the DisplayLocaleProvider locale, else "en-US".
childrenRequiredstring—The text. Each letter can be grabbed; a script that joins its letters moves by word.
pausedboolean—Stops the effect (controlled): the letters go home and take no drag.
defaultPausedboolean—The first pause when paused is not given. Default false.
onPausedChange—Called when the pause changes.
...props<span> attributes—Every other attribute goes to the <span>, with a ref.
  • Put it inside a heading or a paragraph as the text itself.
  • Use it on one word or a short heading, not on body copy.
  • For letters that fall and pile up with physics, use Text Falling.
TabMoves the focus to the text.
Left / RightPicks the letter to pull. A line under it shows which one.
Up / DownorShiftLeft / RightPulls the letter 10px per press. The release of the key springs it home.
Drag
follow · spring · 234ms · each letter follows its neighbor toward the held letter
Release
sway · spring · 325ms · bounce 0.6 · every letter springs home, about 8px per frame at most
Hover
hover · a mouse pulls the letters near it up to 4px
  1. AddedText Elastic Letters.
Open the release