---
title: "Add keyframe animated icon"
description: "Add keyframe animated icon (Motion design). The track opens before a new keyframe lands. Strong drops the key decisively, then settles once."
canonical: https://generativeicons.com/icons/add-keyframe/
---

# Add keyframe animated icon

The track opens before a new keyframe lands. Strong drops the key decisively, then settles once.

- Id: `add-keyframe`
- Category: Motion design
- Search terms: insert keyframe, new keyframe, create keyframe, set keyframe, set key, add key, insert key, key diamond
- Two states: Prepared to Key added, 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/add-keyframe.lottie (dotLottie, 8541 bytes, sha256 98f5e2aac4746c1e280ff2f39efe98bc8a3e9924824f177eff4da33879660a65)
- License: MIT

## Install

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

## React

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

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