SVG Drawing Animation

A little experiment that explores the usage of SVG line drawing animations to precede the appearance of graphics or website elements, simulating the loading of them.

Stay in the loop: Get your dose of frontend twice a week

Fresh news, inspo, code demos, and UI animations—zero fluff, all quality. Make your Mondays and Thursdays creative!

Feedback 80

Comments are closed.
  1. Great,!! really helpful, i made similar effect above referring above files. THANKS A TON MARY LOU

  2. Is there a way to make the animation work when loading the SVG externally? I’m loading the SVG externally like so: it shows the icon however the animation fails. I hope someone could help on this on.
    Many thanks!

  3. In Demo 2, how do you get the svg outline path to be directly in place of the paragraph text? How is it laid out?

  4. Amazing as always 😀 I wrote an angular directive wrapper that animates the SVG by adding ‘svg-draw’ data attribute to the svg element. You can find it here

  5. hello,
    awesome work!
    I have a question: the reveal animation works with image ( in jquery ). how can i do with other elements like div to make them appear ? ( show / hide )

    thanks!

  6. Mary Lou, i have a problem with this tutorial… i was change path coordinate with this..

    example :

    and the result : “the picture upside down”……
    please help me…. Mar Lou….

    Big Thanks…..

  7. I am trying to work my head around the first demo. I dont get how the svg path gets animated. Can anyone give me a bit of hint? Many thanks,

  8. Hi, anybody knows how to make drawing animation played after document is ready?

  9. Can you please help me out in this article…

    I’ve done all steps and added files to my theme folder. the prob is when i scroll to image the svg animations is performed correctly but when the animation is done the image should appear but it do not appear. Please help me out!

    Regards,

    Rafique