vanilla / zero build
loading runtime
morphicons SVG Icon Morphing Library Demos
Download Back To CSSScript.Com
Animate Lucide, Tabler, Heroicons outline, Iconoir, and custom SVG paths with a dependency-free icon morphing library.
from
Menu
to
X
click stage to cycle targets
Driver mode
morphTo / seek
Spring preset
snappy · 420 / 30
Custom values are applied the next time the morph starts.
plan
waiting for runtime
alignment
—
verdict
—
Target palette
raw d + IconNode inputs / all on one canvas
The browser module could not load. Allow the jsDelivr ESM URL,
then reopen this file:
morphicons/dom.js
pair Menu → X
t = 0.50
Polar interpolation
rotation + scale
Similarity is decomposed before the residual shape is blended.
Linear interpolation
coordinate lerp
The same correspondence is kept, with no rotation decomposition.
Raw path input
string d
Path strings can include multiple subpaths and SVG commands.
The palette includes arcs, curves, and open strokes.
IconNode input
tagged geometry
Structural nodes cover lines, circles, ellipses, rectangles,
polylines, and polygons without a library adapter.
fitIcon: ready
source formats
raw d + IconNode
active grid
24 × 24 shared viewBox
motion preference
full motion