---
title: "Onion skin animated icon"
description: "Onion skin animated icon (Motion design). Neighboring poses spread from the current frame to show motion over time. Strong exposes a larger sweep earlier; the current pose stays fixed."
canonical: https://generativeicons.lottiefiles.com/icons/onion-skin/
---

# Onion skin animated icon

Neighboring poses spread from the current frame to show motion over time. Strong exposes a larger sweep earlier; the current pose stays fixed.

- Id: `onion-skin`
- Category: Motion design
- Search terms: onion skinning, ghosting, ghost frames, ghost poses, frame overlay, neighbor frames, previous frames, light table, frame by frame, tracing
- 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.lottiefiles.com/assets/onion-skin.lottie (dotLottie, 6633 bytes, sha256 afaefd07884599b7112199a90d274fd1fa30e4741215b61289e3964f0e1be320)
- License: MIT

## Install

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

## React

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

export function OnionSkinIcon() {
  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/onion-skin.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.lottiefiles.com/icons/onion-skin/ · https://generativeicons.lottiefiles.com/api/icons/onion-skin
