Lancework
Light it up
Text
Type
Colour
Ground
Motion
About this effect
Lancework is the firework set piece that spells a name at the end of a display. Your letters are outlined in rows of small coloured flares, the lances, and a fuse spark races along them letter after letter, lighting each one with a flash as it passes. Once lit they burn hot and white at the core with a coloured glow, every one flickering on its own, dripping sparks that fall and fade and sending up a soft smoke that catches their colour. Every few seconds a wave of colour runs through them, as if a new row had caught.
Hover over the words and the lances near the pointer flare up and throw more sparks. The outline is found once from the heading's own letters (font, size and line breaks are the page's), the lances spaced evenly along it, and each one is a glow and a hot core drawn from small images made once, so hundreds burn at once on a canvas. The heading keeps your words for screen readers and search.
Sparks sets how much they throw. Bold letters with clear outlines read best; it suits celebrations, launches, festivals, New Year and anything worth lighting up.
- Formats
- React, HTML
- No dependencies
- Built with
- Canvas, over real text
- Default font Outfit
- Plays
- Loop, In view, Hover
- Reduced motion
- Respected
- Shows the finished frame
Accessibility. One real heading, read once; the fireworks are drawn on a canvas hidden from screen readers. Under reduced motion nothing burns or falls: the lances are shown lit and still.
Also known as firework text, fireworks letters, lancework set piece, burning text effect, celebration text animation, sparkler text.
Use it in anything you build, client work included, no credit needed. Don’t republish or resell the effect itself.