Canvas Text

Loading-ring canvas particles that slowly resolve into solid letterforms.

textcanvasparticlesheadlineanimationtypographymagnetic
Canvas Text component preview

Props

PropTypeDefaultDescription
textstring-The string to rasterize into particles.
colorstringcurrentColorParticle fill. Omit to inherit the host text color.
fontSizenumber64Font size in CSS pixels used when sampling glyphs.
particleSizenumber1.6Particle diameter in CSS pixels.
densitynumber2Sampling stride (1 = densest). Higher = fewer particles.
driftnumber0Optional idle wobble after settle, in CSS pixels. 0 keeps a locked symmetrical lattice.
scatternumber48Loading-ring radius in CSS pixels.
loadDurationnumber1Seconds spent spinning on the loading ring before morph starts.
morphDurationnumber1.4Seconds for the ring → text morph.
magneticnumber0.35Pointer warp strength. 0 disables magnetism.
magneticRadiusnumber100Radius of pointer influence in CSS pixels.
pausedboolean-Force the loop paused. When omitted, auto-pauses off-screen or when the tab is hidden.
replayKeystring | number-Bump to re-run the scatter → assemble intro.