Skip to content
Click to replay
Interaction
Click replay
Category
Action
Duration
1.13 s
Frame rate
30 fps
Artboard
32 × 32 px
Lottie size
2.1 kB

Minus Square

Animated minus square icon

Minus Square is a 1.13 s micro animation from the action set that replays on every click, like Minus and Minus Circle. Click icons typically confirm send, save, refresh, download, add-to-cart and formatting buttons.

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

Use it

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

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

Static SVG

Minus Square icon, minus-square state
minus-square.svg

Questions about the Minus Square icon

›Do fast clicks on Minus Square queue up?

No queue: every click restarts the 1.13 s run from the first frame. With reduced motion preferred, clicks still reach your onClick but the icon stays still.

›Should the Minus Square icon be a <button>?

Put its events on a real button with the render prop: render={(events, icon) => <button aria-label="Minus Square" {...events}><span {...icon} /></button>}. The animation itself stays aria-hidden.

›Can Minus Square play on hover instead?

Yes: pass interaction="hover-replay". It then plays once on mouseenter unless reduced motion is preferred. Leaving does not stop it; entering during playback does not restart it.