---
title: "Cast animated icon"
description: "Cast animated icon (Media & playback). A signal reaches the display and reveals its content. Strong sends the signal faster, then opens the content tile with a decisive wipe and a small settle."
canonical: https://generativeicons.com/icons/cast/
---

# Cast animated icon

A signal reaches the display and reveals its content. Strong sends the signal faster, then opens the content tile with a decisive wipe and a small settle.

- Id: `cast`
- Category: Media & playback
- Search terms: chromecast, airplay, google cast, cast to tv, stream to tv, send to tv, connect to tv, screen mirroring, mirror screen, wireless display, tv
- Two states: Idle to Casting, 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/cast.lottie (dotLottie, 9722 bytes, sha256 ba4cb35ebda4663b8dadb8c167726fc402ce8e7b0c1f0f34ff3a1e416217f0cd)
- License: MIT

## Install

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

## React

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

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