---
title: "Provider switch animated icon"
description: "Provider switch animated icon (Models & providers). Switch the active provider. Light: the selector contact runs 16 units along the rail and lands under provider B with a hit and a small rebound; B's lead drops to meet it and B's status light pops on. Strong: the contact backs up first, crosses fast, knocks twice; the lead engages twice and the light blinks twice. The contact stays under B. The reverse runs back to A and A engages the same way. The cabinets never move."
canonical: https://generativeicons.com/icons/provider-switch/
---

# Provider switch animated icon

Switch the active provider. Light: the selector contact runs 16 units along the rail and lands under provider B with a hit and a small rebound; B's lead drops to meet it and B's status light pops on. Strong: the contact backs up first, crosses fast, knocks twice; the lead engages twice and the light blinks twice. The contact stays under B. The reverse runs back to A and A engages the same way. The cabinets never move.

- Id: `provider-switch`
- Category: Models & providers
- Search terms: change provider, swap provider, llm provider, ai provider, api provider, vendor, switch vendor, multi-provider, provider selector, provider toggle, backend switch
- Two states: provider-a to provider-b, 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/provider-switch.lottie (dotLottie, 7636 bytes, sha256 92263518619ac817370b7a23de94e055ebc7fe7338d463e1e0acec25bc7cbe49)
- License: MIT

## Install

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

## React

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

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