ICONYZ
English
Dna icon from Griddy Icons

Dna icon

griddy-icons:dna

The Dna icon (griddy-icons:dna) is a free SVG icon from the Griddy Icons set by Zuzana Benova. It is drawn on a 24 × 24 grid. Griddy Icons 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
Griddy Icons
Author
Zuzana Benova
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" fill-rule="evenodd" d="M17 12c0-1.659-.627-2.835-1.561-3.723c-.534-.507-1.166-.918-1.81-1.277c.644-.36 1.277-.77 1.81-1.277C16.373 4.835 17 3.66 17 2h-1.5q-.001.553-.115 1h-6.77A4 4 0 0 1 8.5 2H7c0 1.659.627 2.835 1.561 3.723c.533.507 1.166.918 1.81 1.277c-.644.36-1.277.77-1.81 1.277C7.627 9.165 7 10.34 7 12s.627 2.835 1.561 3.723c.533.507 1.166.918 1.81 1.277c-.644.36-1.277.77-1.81 1.277C7.627 19.165 7 20.34 7 22h1.5q.001-.553.115-1h6.77q.114.447.115 1H17c0-1.659-.627-2.835-1.561-3.723c-.534-.507-1.166-.918-1.81-1.277c.644-.36 1.277-.77 1.81-1.277C16.373 14.835 17 13.66 17 12m-2.458 7.5a4 4 0 0 0-.137-.136c-.627-.597-1.458-1.047-2.405-1.525c-.947.478-1.777.928-2.405 1.525q-.07.067-.137.136zm-5.084-15h5.084q-.066.07-.137.136c-.627.597-1.458 1.047-2.405 1.525c-.947-.478-1.777-.928-2.405-1.525a4 4 0 0 1-.137-.136M12 16.16c.947-.477 1.777-.927 2.405-1.524q.07-.067.137-.136H9.458q.066.07.137.136c.627.597 1.458 1.047 2.405 1.525ZM8.615 13a4 4 0 0 1-.115-1q.001-.553.115-1h6.77q.114.447.115 1c.001.553-.04.701-.115 1zm5.927-3.5a4 4 0 0 0-.137-.136c-.627-.597-1.458-1.047-2.405-1.525c-.947.478-1.777.928-2.405 1.525q-.07.067-.137.136z" clip-rule="evenodd"/></svg>

How to use the Dna icon

React

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

<Icon icon="griddy-icons:dna" width="24" />

Vue

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

<template>
  <Icon icon="griddy-icons:dna" width="24" />
</template>

Svelte

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

<Icon icon="griddy-icons:dna" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="griddy-icons:dna"></iconify-icon>

HTML image

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

Dna icon in other icon sets

Dna icon FAQ

Is the Dna icon free for commercial use?

Yes. Griddy Icons 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="griddy-icons: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/griddy-icons/dna.svg" alt="Dna icon">, or paste the SVG code inline to style it with CSS.

Browse all Griddy Icons →