Skip to content

Text Cloth

Pro

The text is printed on a sheet of cloth that ripples and folds where the pointer moves.

  • 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 Cloth 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
38
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 the heading in the Content part and the Canvas after it.

goods-heading.tsx

TextCloth

<span>
PropTypeDefaultDescription
childrenReactNode—A string, or the parts TextClothContent and TextClothCanvas.
localestring—The BCP 47 locale of the text, for the case of text-transform on the cloth. Default: the DisplayLocaleProvider locale, else "en-US".
trigger"hover""view""view"view (default): a gust ripples the cloth once, the first time it shows. hover: it only moves under the pointer. Both ripple under the pointer, and keyboard focus on the link around it sends a gust.
...props<span> attributes—Every other attribute goes to the <span>, with a ref.

TextClothContent

<span>
PropTypeDefaultDescription
...props<span> attributes—Every other attribute goes to the <span>, with a ref.

TextClothCanvas

<canvas>
PropTypeDefaultDescription
...props<canvas> attributes—Every other attribute goes to the <canvas>, with a ref.
  • Use trigger="hover" to start only when the pointer is on it.
  • Keep it to one or two words: the cloth is one mesh.
  1. AddedText Cloth.
Open the release