Skip to main content

SVG Draw

Try it live

Watch line art trace itself in the SVG Draw playground — pick a preset, tweak duration / stagger / direction / loop, restyle the stroke and fill, then copy the generated sample. It runs the real runtime's getTotalLength measuring + staggered stroke-dashoffset animation.

A self-drawing SVG — line art, a signature, an animated divider or icon — that traces itself on as it scrolls into view. No heavy 3D library.

Add it

Builder palette → Media ElementsSVG Draw.

SVG source

Pick where the artwork comes from:

  • Built-in preset — Signature · Underline · Arrow · Checkmark · Wave · Star · Heart · Circle
  • Paste SVG code — your own markup (sanitized — scripts/handlers stripped)
  • Upload .svg file — inlined from the Media Library

Outline (stroke) paths draw best.

Options

GroupOptionNotes
DrawTriggerWhen scrolled into view (default) · On page load · On hover
Draw durationSeconds to trace the artwork
Stagger between pathsDelay between each path (s)
DirectionNormal · Reverse
LoopDraw, erase, redraw forever
StrokeStroke width · Stroke colorThe drawn line
Fill after drawingFade in a fill once the outline finishes
Fill color
StyleMax width · AlignmentLeft · Center · Right (0 width = the SVG's natural size)

Performance & accessibility

  • Loads only when used — its small CSS/JS is enqueued only on pages with an SVG Draw.
  • Safe: pasted/uploaded SVG is sanitized (scripts, event handlers and javascript: URLs are stripped).
  • Reduced motion is honoured — the artwork shows fully drawn.