GSAP MorphSVG
gsap_morphsvgMorph an SVG path into a different shape by specifying target path data or selector.
Instructions
Morph one SVG path into another using MorphSVGPlugin. Target and endShape must be SVG path elements or path data strings. For drawing SVG strokes use gsap_drawsvg instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ease | No | power1.inOut | |
| target | Yes | CSS selector for the source SVG path/shape | |
| options | No | ||
| duration | No | ||
| endShape | Yes | CSS selector or raw SVG path data string for the target shape | |
| useTimeline | No | ||
| includeImports | No |