---
title: "Session expired animated icon"
description: "Session expired animated icon (Feedback & status). The remaining session time drains, then a cross records the expired state."
canonical: https://generativeicons.com/icons/session-expired/
---

# Session expired animated icon

The remaining session time drains, then a cross records the expired state.

- Id: `session-expired`
- Category: Feedback & status
- Search terms: timed out, session timeout, logged out, signed out, auto logout, time up, login expired, token expired, expiry, expiration, sign in again, relogin
- Two states: prepared to result, played forward and back
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/session-expired.lottie (dotLottie, 8776 bytes, sha256 7b423c31fcb79270a810e73ac7bf6fab6d98b5441c8f225379c3aacd13ab9d24)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add session-expired
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/session-expired.mjs';

export function SessionExpiredIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/session-expired.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/session-expired/ · https://generativeicons.com/api/icons/session-expired
