---
title: "Aspect ratio animated icon"
description: "Aspect ratio animated icon (Video editing). The frame is cropped to 4:3. Light: crop marks draw in above and below the frame where the new 4:3 edges will be, then both side walls slam in to them, knock back a little and seat; the diagonal follows the corners, and the marks fade once the walls sit under them. Strong: the marks draw in while the wide frame stretches out against them, then the walls slam in and seat in two decaying beats. The frame stays 4:3. The reverse retracts the marks while the walls widen back to 16:9 and knock once on arrival."
canonical: https://generativeicons.com/icons/aspect-ratio/
---

# Aspect ratio animated icon

The frame is cropped to 4:3. Light: crop marks draw in above and below the frame where the new 4:3 edges will be, then both side walls slam in to them, knock back a little and seat; the diagonal follows the corners, and the marks fade once the walls sit under them. Strong: the marks draw in while the wide frame stretches out against them, then the walls slam in and seat in two decaying beats. The frame stays 4:3. The reverse retracts the marks while the walls widen back to 16:9 and knock once on arrival.

- Id: `aspect-ratio`
- Category: Video editing
- Search terms: crop, crop frame, 16x9, 4x3, frame size, dimensions, proportions, widescreen, letterbox, canvas size, square format, vertical format
- Two states: wide to standard, 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/aspect-ratio.lottie (dotLottie, 7560 bytes, sha256 fc48d52571da18e15e839edcaa7584e68ad87e3447b4fddea5b8f0594a41dd71)
- License: MIT

## Install

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

## React

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

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