---
title: "DNA animated icon"
description: "DNA animated icon (Health & Fitness). Light: the helix makes one full calm twist; rungs fade out wherever the strands close in. Strong: it winds back 24°, twists through two turns with a short overrun and settles."
canonical: https://generativeicons.com/icons/dna/
---

# DNA animated icon

Light: the helix makes one full calm twist; rungs fade out wherever the strands close in. Strong: it winds back 24°, twists through two turns with a short overrun and settles.

- Id: `dna`
- Category: Health & Fitness
- Search terms: double helix, helix, genetics, genetic, gene, genes, genome, biology, heredity, ancestry, biotech, genetic code
- One action, back to rest
- 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/dna.lottie (dotLottie, 34234 bytes, sha256 a7f81354a682bbe581d7e44b85bc9b5a041363a3a32e5e520f3e144a89c45eaa)
- License: MIT

## Install

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

## React

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

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