Overview
SVG path under the phrase. stroke-dashoffset 100% → 0 after the text is up.
Build
- 01
Measure phrase width.
- 02
Path = that width.
- 03
Draw 300–400ms.
.underline { animation: underline-draw 400ms both }Example source React / TSX
examples/underline-draw-accent.tsx · Uses the catalog’s shared composition helpers.
Loading source…