---
title: "Switch account animated icon"
description: "Switch account animated icon (Account & privacy). The selection marker slides from the personal account to the work account; the chosen person nods."
canonical: https://generativeicons.com/icons/switch-account/
---

# Switch account animated icon

The selection marker slides from the personal account to the work account; the chosen person nods.

- Id: `switch-account`
- Category: Account & privacy
- Search terms: change account, switch user, change user, switch profile, account switcher, multiple accounts, work account, personal account, swap profile, select account
- Two states: personal to work, 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/switch-account.lottie (dotLottie, 7666 bytes, sha256 3afaea37961c74bd800851e6460d1201075651eac42def69e385cedc7a5114cf)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add switch-account
```

## React

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

export function SwitchAccountIcon() {
  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/switch-account.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/switch-account/ · https://generativeicons.com/api/icons/switch-account
