Add Lottie animations to WordPress

A small vector animation that loops, plays once or plays while the mouse is over it, with a still poster showing until it starts.

Type

A Grinner block

Find it

Press + and search “Lottie”

Phones

Plays, or shows the poster if you prefer

Speed

Below the first screen it starts only as it scrolls in

What you can change

The settings worth knowing.

Four settings, and a poster you should always add.

Loop

Play once

On hover

Playback

Loop, once or on hover

Loop forever, play once and stop on the last frame, or play only while the mouse is over it.

Select poster

A still first

A picture that shows until the animation starts.

YouTube URL

A play button

Add a link and the animation becomes a round play button that opens the video in a popup.

Disable on mobile

A poster on phones

Phones show the poster, or the first frame, instead.

How to add it

Three steps. No new tool.

1

Install Grinner free

It’s on WordPress.org. Or go to Plugins, Add New, and search for Grinner Blocks.

2

Add Lottie

Press + and search for Lottie, then upload your animation file and a poster image.

3

Choose playback

Pick Loop, Play once or On hover, cap the width, then publish.

Good to know

Fair questions.

The Lottie block is a Grinner block for small vector animations. It can loop, play once or play while the mouse is over it, with a still poster showing until it starts. Use it to add light, sharp animation that stays small in file size.

Yes, with a poster, and let it start after the page has loaded. In the hero its file loads early.

Only the first.

Phones can’t hover, so it plays once by itself.

The poster or the first frame, standing still.

Pairs well with

Try it with these.

A button that opens a YouTube video over the page.

Turn a section, or each block in it, into a card with one switch.

Motion in your hero, with the first screen still drawn straight away.

Grinner grinning

Go make something
beautiful.

Free on WordPress.org · No Pro version