ICONYZ
English
Dna icon from Boxicons

Dna icon

boxicons:dna

The Dna icon (boxicons:dna) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Boxicons
Author
Boxicons
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M20 2h-2s0 .41-.08 1H6.08C6.01 2.44 6 2.06 6 2H4c0 .08.08 6.94 5.46 10C4.09 15.06 4 21.92 4 22h2s0-.41.08-1h11.84c.07.56.08.94.08 1h2c0-.08-.08-6.94-5.46-10C19.91 8.94 20 2.08 20 2m-2.51 3c-.19.64-.46 1.32-.83 2H7.31c-.36-.68-.63-1.36-.82-2zM15.2 9c-.81.82-1.86 1.51-3.2 1.94C10.64 10.5 9.59 9.82 8.77 9zM12 13.06c1.36.44 2.41 1.12 3.23 1.94H8.8c.81-.82 1.86-1.51 3.2-1.94M6.51 19c.19-.64.46-1.32.83-2h9.35c.36.68.63 1.36.82 2z"/></svg>

How to use the Dna icon

React

import { Icon } from "@iconify/react";

<Icon icon="boxicons:dna" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="boxicons:dna" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="boxicons:dna" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--dna]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:dna"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="boxicons:dna"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/boxicons/dna.svg" alt="Dna icon" width="24" height="24">

Related icons in Boxicons

Dna icon in other icon sets

Dna icon FAQ

Is the Dna icon free for commercial use?

Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Dna icon in React?

Install @iconify/react and render <Icon icon="boxicons:dna" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Dna icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/dna.svg" alt="Dna icon">, or paste the SVG code inline to style it with CSS.

Browse all Boxicons →