Skip to content
Hover to loop
Interaction
Hover loop
Category
Action
Duration
1.33 s
Frame rate
30 fps
Artboard
32 × 32 px
Lottie size
2.3 kB

Flag

Animated flag icon

Flag is a 1.33 s micro animation from the action set that loops while hovered, like Plus Circle and Link 2. Hover loop icons typically mark social links, community invites, portfolio links and language pickers.

Free under the MIT license · Markdown version · About the files

Use it

npm install react-useanimations
import UseAnimations from 'react-useanimations';
import flag from 'react-useanimations/lib/flag';

<UseAnimations animation={flag} size={32} />

Static SVG

Flag icon, flag state
flag.svg

Questions about the Flag icon

›Where does Flag stop after hover?

It finishes the cycle it is in (at most 1.33 s) and then rests on its first frame, so it never freezes mid-motion. Keyboard focus plays it as well; a tap on a touch screen does not.

›Is Flag decorative?

By default it is aria-hidden. Pass aria-label="Flag" to announce it as an image, or leave it hidden when the link or button it sits in has its own text.

›Can Flag loop all the time instead?

Yes: pass interaction="loop". It then plays continuously; stays on the static first frame when reduced motion is preferred.