Skip to content

Text Bulge Warp

Pro

A lens follows the pointer and makes the letters under it swell; a press sends a ring wave through the text.

  • 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 Bulge Warp 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
36
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 text of a heading. Pick the lens that fits the product.

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

camera-hero.tsx

TextBulgeWarp

<div>
PropTypeDefaultDescription
childrenRequiredstring—The text.
strengthnumber—How strong the lens is, from 0 to 1. Default 1.
radiusnumber—The lens radius in px. Default: 1.1 × the font size.
rippleboolean—A press sends a ring wave through the text. Default true.
plainboolean—Show the plain text, with no WebGL.
onError—Called when three.js does not load or the WebGL setup fails. The plain text stays.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • Wrap the text of a heading. At rest the canvas shows the same text at the same place, so the swap does not show.
  • Use strength (0 to 1, default 1) and radius (px, default 1.1 × the font size) for how much and how wide.
  • Use ripple={false} for no ring wave on a press.
  • Use plain to show the plain text, for example on a page with many effects.
  • For the same effect with another look, use Text Pinch Warp.
  • For a heading made of particles that push away from the pointer, use Text Particle.
  • For a heading drawn as monospace glyphs, use Text ASCII.
  • For a variable font that grows heavier near the pointer, with no WebGL, use Text Variable Proximity.
  • For a long article or text people must read with no pointer, use plain text.
TabKeyboard focus on the link or button around the text runs the lens once along the line.
Lens
cursorFollow · the lens follows the pointer on a spring and fades in as it comes onto the text; its edge falls off on a smoothstep
Ring
press · 1s · a ring wave goes out from the press point across about two lens sizes and fades
Sweep
glide · 1.2s · keyboard focus runs the lens once along the line
  1. AddedText Bulge Warp.
Open the release