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

Log In

Animated log in icon

The Log In animated icon replays on every click in 1.13 s, a good fit for sign-in and sign-out links. Click icons typically confirm send, save, refresh, download, add-to-cart and formatting buttons.

Also known assign inlogin

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

Use it

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

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

Static SVG

Log In icon, log-in state
log-in.svg

Questions about the Log In icon

›Do fast clicks on Log In 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 Log In icon be a <button>?

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

›Can Log In 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.