GSAP DrawSVG
gsap_drawsvgAnimate SVG stroke drawing progress for line-drawing and reveal effects on SVG paths.
Instructions
Animate SVG stroke drawing progress using DrawSVGPlugin. Use for line-drawing and reveal effects on SVG paths. For morphing between shapes use gsap_morphsvg instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End position | 100% |
| from | No | Start position (e.g. "0%", "50% 50%") | 0% |
| target | Yes | CSS selector for SVG path(s) | |
| options | No | ||
| duration | No | ||
| useTimeline | No | ||
| includeImports | No |