Skip to content

Text Lift Proximity

Pro

The letters near the pointer lift up, and settle back down when the pointer moves away.

  • 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 Lift Proximity 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
26
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.

Wrap the words that should react, inside a heading or a button.

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

hero.tsx

TextLiftProximity

<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.
localestring—The BCP 47 locale for the letter and word split (Intl.Segmenter). Default: the DisplayLocaleProvider locale, else "en-US".
childrenRequiredstring—The text. Its letters near the pointer lift and grow.
radiusnumber—How far the pointer reaches, in px from the center of a letter. Default 100.
falloff"distance""index"—How the effect falls off: by the distance of each letter (default), or by its index from the letter under the pointer, as icons in a dock (#/lib/pro/pointer-falloff-model).
spreadnumber—falloff="index" only: how many letters on each side react. Default 2.
rippleboolean—A press on the text sends a ring of lift out from the press point. Default off.
idleboolean—A slow bump crosses the text while the pointer is away (2.4s a pass, then 1.2s of rest), only on screen. paused stops it.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • Wrap only the words that should move, inside a heading or a button: the words around them stay still.
  • Use falloff="index" with spread for a dock: the letter under the pointer and spread letters on each side react, with the same step for a narrow and a wide letter.
  • Set ripple for a ring of lift on a press, and idle for a slow wave while the pointer is away.
  • For the same effect with another look, use Text Grow Proximity.
  • For letters that get heavier under the pointer, with a variable font, use Text Variable Proximity.
  • For a whole button or card that moves toward the pointer, use Magnetic.
  • For icons in a bar that grow under the pointer, use Magnifying Dock.
  • For body text, a long paragraph, or text a person must read in the moment, use plain text.
TabMoves the focus to the link or button around the text. One sweep crosses the letters from the start edge.
Follow
follow · spring (visual duration 0.23s, bounce 0.28) · each letter lifts and grows toward its nearness, and settles back when the pointer leaves
Pull
follow · with `effect="pull"`, each letter moves toward the pointer, at most about 0.3em, and springs home when the pointer leaves
Ripple
progress · a ring runs out from the press point at 0.8px per ms, and fades as it grows
Idle wave
progress · a bump half the height of the pointer crosses the text in 2.4s, then rests 1.2s, only while the pointer is away
Focus sweep
progress · one bump crosses the text in 1.2s at full height on keyboard focus
  1. AddedText Lift Proximity.
Open the release