Skip to content
Plays on its own
Interaction
Loop
Category
Alerts
Duration
1.50 s
Frame rate
30 fps
Artboard
32 × 32 px
Lottie size
1.1 kB

Error

Animated error icon

Error is a 1.5 s micro animation that loops continuously; use it for error and warning banners at the top of a page. Looping icons typically show loading spinners, active alerts, a ringing bell or a scroll-down hint.

Also known asfailuredanger
close

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

Use it

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

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

Static SVG

Error icon, error state
error.svg

Questions about the Error icon

›Can I pause the Error loop?

It pauses by itself while scrolled out of view and stays on its first frame when reduced motion is preferred or autoplay={false} is set. To show it only while something is pending, render it conditionally.

›Is Error decorative?

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

›Can Error loop only while hovered instead?

Yes: pass interaction="hover-loop". It then loops while hovered, finishes the current cycle after mouseleave and stays static when reduced motion is preferred.