Skip to content

Text ASCII

Pro

Text drawn in small code glyphs that decode from noise, scramble near the pointer, and ripple out on a press.

  • three.js
  • React 19
  • Tailwind CSS 4

Added Nov 14, 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 ASCII 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.

Wrap the text of a large heading. Keep the rest of the page plain.

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

release-hero.tsx

TextAscii

<span>
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.
childrenRequiredstring—The text. Large display text reads best: each letter is built from about 7 rows of glyphs.
charactersstringASCII_TEXT_CHARACTERSThe glyph ramp, from empty to full cover (the first glyph is the empty cell). Default .:-=+*#%@.
cellSizenumber—The cell height in px. Default: the font size / 10, from 5 to 18px.
introbooleantrueDecode the text from glyph noise the first time it shows. Default true.
loopbooleanfalseKeep the slow wave going. Default false: the wave stops after 5 seconds, so the GPU rests. paused stops a looping wave.
ripplebooleantrueA press sends a ring of glyphs out from the press point. Default true.
plainbooleanfalseShow the plain text, with no WebGL.
onError—Called when three.js does not load or the WebGL setup fails. The plain text stays.
...props<span> attributes—Every other attribute goes to the <span>, with a ref.
  • Wrap the text of a heading. Large, heavy text reads best: a capital is about 7 rows of glyphs.
  • Use characters for the glyph ramp, from the empty cell to full cover: ░▒▓█ for blocks, 01 for binary.
  • Use cellSize for finer or coarser glyphs. The default is the font size / 10, from 5 to 18px.
  • Use loop to keep the slow wave going, and paused to stop it from a control of the page.
  • Use plain to show the plain text, for example on a page with many effects.
  • For letters that change at random and settle into the text, with no WebGL, use Text Scramble.
  • For a heading made of particles that push away from the pointer, use Text Particle.
  • For body text, small text, or a long paragraph, use plain text: small glyph cells do not read as letters.
TabKeyboard focus on the link or button around the text sweeps the scramble once along the line.
Intro
reveal · 1.4s · each cell starts at a seeded moment in the first 55% and settles from glyph noise into its glyph over the rest
Scramble
cursorFollow · the glyphs near the pointer change 12 times a second in the `--primary` color; the pointer place follows on a spring
Ring
press · 1.2s · a ring of glyphs goes out from the press point to the far side and fades; at most 4 rings at once
Wave
sine · the grid reads the text through a slow sine wave, which eases out by 5s unless `loop` is true
  1. AddedText ASCII.
Open the release