Skip to content

Glyph Eclipse Background

Pro

A black disc in a corona of type, with a bright bead on its rim.

  • React 19
  • Tailwind CSS 4

Added Nov 24, 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

Glyph Eclipse Background 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
51
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 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-eclipse-hero.tsx

GlyphEclipseBackground

<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.
discSizenumber0.24The radius of the disc, in box heights. From 0.12 to 0.4. Default 0.24.
coronanumber0.16How far the corona reaches. From 0.05 to 0.4. Default 0.16.
streamersnumber0.55How ragged the corona is. From 0 to 1. Default 0.55.
beadnumber0.6How bright the bead on the rim is. From 0 to 1. Default 0.6.
beadSpeednumber0.12How fast the bead travels around the rim. From -1 to 1. Default 0.12.
cellnumber10The height of one glyph cell, in px. From 8 to 28. Default 10.
glyphSetnumber0The 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.
glyphScalenumber1How large a glyph is inside its cell. From 0.5 to 1.6. Default 1.
cellAspectnumber0.6The width of a cell against its height. From 0.45 to 1.2. Default 0.6.
staggernumber0How far every second row shifts sideways, in cells. From 0 to 1. Default 0.
twinklenumber0How much the glyphs shimmer over time. From 0 to 1. Default 0.
pointerLiftnumber0.35How much the pointer brightens the light under it. From 0 to 1. Default 0.35.
glowStrengthnumber0.6How strong the smooth light under the type is. From 0 to 1.2. Default 0.6.
inkLiftnumber0.2How far up the palette the type sits above the light. From 0 to 0.5. Default 0.2.
inkFloornumber0.05The tone under which a cell sets no glyph. From 0 to 0.4. Default 0.05.
gapsnumber0.18How many cells drop out in loose patches. From 0 to 0.7. Default 0.18.
gapDriftnumber0.18How fast the patches of dropped cells drift. From 0 to 1. Default 0.18.
scatternumber0.05How much each cell shifts its tone, so glyph bands break up. From 0 to 0.25. Default 0.05.
bloomnumber0.5How strong the soft halo around each glyph is. From 0 to 1. Default 0.5.
grainnumber0.03How strong the film grain is. From 0 to 0.2. Default 0.03.
toneLownumber0The field light that reads as no tone. From 0 to 1. Default 0.
toneHighnumber1The field light that reads as full tone. From 0 to 1. Default 1.
maskSoftnessnumber0.25The 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 discSize and corona for the size of the disc and how far the corona reaches.
  • Use bead and beadSpeed for the bright bead; a negative speed turns it the other way.
  • 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 Eclipse Background.
Open the release