Skip to content

Glyph Arch Background

Free

Rippling teal and gold light pours from the top edge and ends in an arch of type.

  • React 19
  • Tailwind CSS 4

Added Nov 24, 2026 · MIT + Commons Clause

Playground

Loading the preview

Props

Put the hero content inside as children: they sit on top of the moving picture. Give the root a height.

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

glyph-arch-hero.tsx

GlyphArchBackground

<div>
PropTypeDefaultDescription
palettereadonly string[]PALETTEAny CSS colors (var(--token) too): the ground, the second ground, then the look colors.
speednumber—The time scale: 1 (default) is the designed speed, 0 a still frame.
pausedboolean—True holds the current frame. Default false.
trigger"hover""loop"—When it moves: loop (default) or hover. It draws its first frame either way.
seednumber—Another seed gives another field of the same look. Default 0.
pressboolean—True: a press on the box sends a ripple through the field where it lands; a press on a button or a link inside does not. Default false.
pointerboolean—True: the field leans toward a mouse or pen over the box. Default false.
fpsnumber—The most frames a second. Default: the display rate.
resolutionnumber—A last scale on the canvas pixels, after the caps (0.5 draws a quarter of them). Default 1.
mask"bottom""edges""none""radial""top"—Fades an edge into the page: radial, edges, top, or bottom. Default none.
vignettenumber—Darkens toward the corners, 0 to 1. Default 0.
fallbackboolean—True: a CSS gradient of the palette shows on the server, until the first WebGL frame, and with no WebGL. Default false: the box stays empty and the live picture fades in, because the gradient looks unlike the real effect and the swap reads as a glitch.
reachnumber—How far down the light reaches at the sides. From 0.4 to 1.2. Default 0.86.
bownumber—How much the middle of the arch lifts. From 0 to 0.7. Default 0.34.
falloffnumber—How fast the light fades toward the arch. From 0.6 to 2.5. Default 0.85.
ribsnumber—How deep the ripples in the light are. From 0 to 1. Default 0.45.
ribCountnumber—How many ripples fit between the top edge and the arch. From 2 to 10. Default 5.
ribFlownumber—How fast the ripples flow down the arch. From 0 to 1. Default 0.3.
corenumber—How hot the two cores on the top edge are. From 0 to 1. Default 0.42.
coreGapnumber—How far apart the two cores sit. From 0 to 0.9. Default 0.5.
swaynumber—How far the edge of the arch sways. From 0 to 0.3. Default 0.07.
cellnumber—The height of one glyph cell, in px. From 8 to 28. Default 16.
glyphSetnumber—The glyphs: 0 letters, 1 binary, 2 blocks, 3 rings, 4 strokes, 5 waves, 6 katakana, 7 stars, 8 math, 9 arrows. A whole number from 0 to 9. Default 0.
glyphScalenumber—How large a glyph is inside its cell. From 0.5 to 1.6. Default 1.
cellAspectnumber—The width of a cell against its height. From 0.45 to 1.2. Default 0.6.
staggernumber—How far every second row shifts sideways, in cells. From 0 to 1. Default 0.
twinklenumber—How much the glyphs shimmer over time. From 0 to 1. Default 0.
pointerLiftnumber—How much the pointer brightens the light under it. From 0 to 1. Default 0.35.
glowStrengthnumber—How strong the smooth light under the type is. From 0 to 1.2. Default 0.92.
inkLiftnumber—How far up the palette the type sits above the light. From 0 to 0.5. Default 0.22.
inkFloornumber—The tone under which a cell sets no glyph. From 0 to 0.4. Default 0.05.
gapsnumber—How many cells drop out in loose patches. From 0 to 0.7. Default 0.3.
gapDriftnumber—How fast the patches of dropped cells drift. From 0 to 1. Default 0.18.
scatternumber—How much each cell shifts its tone, so glyph bands break up. From 0 to 0.25. Default 0.05.
bloomnumber—How strong the soft halo around each glyph is. From 0 to 1. Default 0.45.
grainnumber—How strong the film grain is. From 0 to 0.2. Default 0.05.
toneLownumber—The field light that reads as no tone. From 0 to 1. Default 0.
toneHighnumber—The field light that reads as full tone. From 0 to 1. Default 1.
maskSoftnessnumber—The share of the box the mask fade takes, from 0.05 to 0.6. Default 0.25.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • Use reach and bow to shape the arch, so the heading sits under its middle.
  • Use ribs, ribCount, and ribFlow for the ripples that flow down the light.
  • Use mask (top, bottom, edges, or radial) to fade an edge into the page, and maskSoftness for the width of the fade.
Show
chart · 600ms · ease-panel · the picture fades in after its first drawn frame
Loop
progress · the picture moves on its own clock at one speed; `speed` scales it, and 0 shows a still frame
  1. AddedGlyph Arch Background.
Open the release