Skip to content

How to Create Draw SVG Animation in WordPress?

Key Takeaways

  • Draw SVG block in Nexter Blocks animates built-in icons or custom SVG files, with 60+ built-in icons under Pre Build SVG.
  • Draw Method offers On Scroll and On Hover, and Duration 90 is about 1.5 seconds.
  • SVG Upload in Nexter Extension lets other roles upload SVG files after administrators and editors can upload them by default.
Table of Contents

An icon that draws itself line by line catches the eye as visitors scroll to a feature or service section.

The free Draw SVG block in Nexter Blocks animates built-in icons or your own SVG files.

Before You Start

  • Edition: Free — works in Nexter Blocks (free) and with Nexter Blocks Pro.
  • Block to enable: Draw SVG, switched on under Nexter > Blocks in your WordPress dashboard.
  • For your own SVG files: administrators and editors can upload SVGs directly. See how to add a custom animated SVG icon.

Learn via Video Tutorial

Steps

  1. Go to Nexter > Blocks, search for Draw SVG and turn it on.
The Nexter Blocks settings page filtered to the Draw SVG block
  1. Add the Draw SVG block and click Design from Scratch.
  1. Keep Pre Build SVG under SVG Options and choose an icon in Select SVG.
The Content panel with SVG Options and Select SVG
  1. Set Max Width, the Border/Stroke Color and, if you want, turn on Fill Color.
  1. Pick a drawing Type, a Duration and a Draw Method.
The Type, Duration and Draw Method settings of Draw SVG
  1. Save and scroll to the icon on the live page.

Settings

SettingWhat it doesDefault
SVG OptionsPre Build SVG (60+ built-in icons) or Custom Upload (your SVG file)Pre Build SVG
Select SVG / Upload SVGThe icon or file to animateApp
Max WidthLargest size of the icon, per device—
Border/Stroke ColorColour of the drawn lines#8072fc
Fill ColorFills the shapes with a colourOff
TypeDelayed (lines start one after another with overlap), Sync (all together), One-By-One (each line after the previous) or Scenario-SyncDelayed
DurationLength of the drawing in animation frames; 90 is about 1.5 seconds90
Draw MethodOn Scroll (draws when the icon comes into view) or On HoverOn Scroll
Alignment, LinkPosition of the icon and an optional linkCenter

There is no Style tab. The Advanced tab holds the options shared by all Nexter Blocks.

How It Behaves

  • On Scroll: the lines stay hidden until the icon enters the screen, then draw once.
  • On Hover: the icon is shown fully drawn when the page loads, and the drawing replays each time the pointer moves over it.
  • It works the same in the free plugin and with Nexter Blocks Pro.
A Draw SVG icon partway through its stroke animation
The same icon with the animation complete

Limitations

  • There is no loop setting. On Scroll draws once; use On Hover to replay.
  • Only line-based SVGs animate well. Filled shapes without strokes show little drawing.
  • The icon has no alt text setting; screen readers hear “icon”.

Troubleshooting

The icon does not animate

It may already be on screen when the page loads with On Scroll. Scroll away and back, or use On Hover to test.

I cannot upload my SVG file

Only administrators and editors can upload SVG files by default. For other roles, turn on SVG Upload in Nexter Extension and choose the roles.

Related Docs

Share your Thoughts

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!