gentleface

Gentleface › Science & education › dna

dna icon

Dna: dna, genetics, genome, heredity. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M4 1.5C4 1.613 4.073 1.753 4.22 1.921C4.395 2.121 4.664 2.342 5.027 2.584C5.347 2.797 5.76 3.039 6.267 3.309C6.539 3.454 6.951 3.665 7.5 3.941C8.049 3.665 8.461 3.454 8.733 3.309C9.24 3.039 9.653 2.797 9.973 2.584C10.336 2.342 10.605 2.121 10.78 1.921C10.927 1.753 11 1.613 11 1.5C11 1.359 11.048 1.241 11.144 1.144C11.241 1.048 11.359 1 11.5 1C11.641 1 11.759 1.048 11.856 1.144C11.952 1.241 12 1.359 12 1.5C12 1.863 11.844 2.223 11.533 2.579C11.299 2.846 10.964 3.125 10.527 3.416C10.18 3.647 9.739 3.906 9.204 4.191C9.049 4.274 8.851 4.377 8.61 4.5C8.851 4.623 9.049 4.726 9.204 4.809C9.739 5.094 10.18 5.353 10.527 5.584C10.964 5.875 11.299 6.154 11.533 6.421C11.844 6.777 12 7.137 12 7.5C12 7.863 11.844 8.223 11.533 8.579C11.299 8.846 10.964 9.125 10.527 9.416C10.18 9.647 9.739 9.906 9.204 10.191C9.049 10.274 8.851 10.377 8.61 10.5C8.851 10.623 9.049 10.726 9.204 10.809C9.739 11.094 10.18 11.353 10.527 11.584C10.964 11.875 11.299 12.154 11.533 12.421C11.844 12.777 12 13.137 12 13.5C12 13.641 11.952 13.759 11.856 13.856C11.759 13.952 11.641 14 11.5 14C11.359 14 11.241 13.952 11.144 13.856C11.048 13.759 11 13.641 11 13.5C11 13.387 10.927 13.247 10.78 13.079C10.605 12.879 10.336 12.658 9.973 12.416C9.653 12.203 9.24 11.961 8.733 11.691C8.461 11.546 8.049 11.335 7.5 11.059C6.951 11.335 6.539 11.546 6.267 11.691C5.76 11.961 5.347 12.203 5.027 12.416C4.664 12.658 4.395 12.879 4.22 13.079C4.073 13.247 4 13.387 4 13.5C4 13.641 3.952 13.759 3.856 13.856C3.759 13.952 3.641 14 3.5 14C3.359 14 3.241 13.952 3.144 13.856C3.048 13.759 3 13.641 3 13.5C3 13.137 3.156 12.777 3.467 12.421C3.701 12.154 4.036 11.875 4.473 11.584C4.82 11.353 5.261 11.094 5.796 10.809C5.951 10.726 6.149 10.623 6.39 10.5C6.149 10.377 5.951 10.274 5.796 10.191C5.261 9.906 4.82 9.647 4.473 9.416C4.036 9.125 3.701 8.846 3.467 8.579C3.156 8.223 3 7.863 3 7.5C3 7.137 3.156 6.777 3.467 6.421C3.701 6.154 4.036 5.875 4.473 5.584C4.82 5.353 5.261 5.094 5.796 4.809C5.951 4.726 6.149 4.623 6.39 4.5C6.149 4.377 5.951 4.274 5.796 4.191C5.261 3.906 4.82 3.647 4.473 3.416C4.036 3.125 3.701 2.846 3.467 2.579C3.156 2.223 3 1.863 3 1.5C3 1.359 3.048 1.241 3.144 1.144C3.241 1.048 3.359 1 3.5 1C3.641 1 3.759 1.048 3.856 1.144C3.952 1.241 4 1.359 4 1.5ZM8.733 5.691C8.461 5.546 8.049 5.335 7.5 5.059C6.951 5.335 6.539 5.546 6.267 5.691C6.065 5.799 5.878 5.902 5.706 6L9.294 6C9.122 5.902 8.935 5.799 8.733 5.691ZM10.675 8.032C10.713 7.994 10.748 7.957 10.78 7.921C10.927 7.753 11 7.613 11 7.5C11 7.387 10.927 7.247 10.78 7.079C10.748 7.043 10.713 7.006 10.675 6.968C10.619 6.989 10.56 7 10.5 7L4.5 7C4.44 7 4.381 6.989 4.325 6.968C4.287 7.006 4.252 7.043 4.22 7.079C4.073 7.247 4 7.387 4 7.5C4 7.613 4.073 7.753 4.22 7.921C4.252 7.957 4.287 7.994 4.325 8.032C4.381 8.011 4.44 8 4.5 8L10.5 8C10.56 8 10.619 8.011 10.675 8.032ZM6.267 9.309C6.539 9.454 6.951 9.665 7.5 9.941C8.049 9.665 8.461 9.454 8.733 9.309C8.935 9.201 9.122 9.098 9.294 9L5.706 9C5.878 9.098 6.065 9.201 6.267 9.309Z"/></svg>
React
// Gentleface "dna" (line-round), MIT. https://gentleface.com/icons/dna
import type { SVGProps } from 'react';

export function DnaIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M4 1.5C4 1.613 4.073 1.753 4.22 1.921C4.395 2.121 4.664 2.342 5.027 2.584C5.347 2.797 5.76 3.039 6.267 3.309C6.539 3.454 6.951 3.665 7.5 3.941C8.049 3.665 8.461 3.454 8.733 3.309C9.24 3.039 9.653 2.797 9.973 2.584C10.336 2.342 10.605 2.121 10.78 1.921C10.927 1.753 11 1.613 11 1.5C11 1.359 11.048 1.241 11.144 1.144C11.241 1.048 11.359 1 11.5 1C11.641 1 11.759 1.048 11.856 1.144C11.952 1.241 12 1.359 12 1.5C12 1.863 11.844 2.223 11.533 2.579C11.299 2.846 10.964 3.125 10.527 3.416C10.18 3.647 9.739 3.906 9.204 4.191C9.049 4.274 8.851 4.377 8.61 4.5C8.851 4.623 9.049 4.726 9.204 4.809C9.739 5.094 10.18 5.353 10.527 5.584C10.964 5.875 11.299 6.154 11.533 6.421C11.844 6.777 12 7.137 12 7.5C12 7.863 11.844 8.223 11.533 8.579C11.299 8.846 10.964 9.125 10.527 9.416C10.18 9.647 9.739 9.906 9.204 10.191C9.049 10.274 8.851 10.377 8.61 10.5C8.851 10.623 9.049 10.726 9.204 10.809C9.739 11.094 10.18 11.353 10.527 11.584C10.964 11.875 11.299 12.154 11.533 12.421C11.844 12.777 12 13.137 12 13.5C12 13.641 11.952 13.759 11.856 13.856C11.759 13.952 11.641 14 11.5 14C11.359 14 11.241 13.952 11.144 13.856C11.048 13.759 11 13.641 11 13.5C11 13.387 10.927 13.247 10.78 13.079C10.605 12.879 10.336 12.658 9.973 12.416C9.653 12.203 9.24 11.961 8.733 11.691C8.461 11.546 8.049 11.335 7.5 11.059C6.951 11.335 6.539 11.546 6.267 11.691C5.76 11.961 5.347 12.203 5.027 12.416C4.664 12.658 4.395 12.879 4.22 13.079C4.073 13.247 4 13.387 4 13.5C4 13.641 3.952 13.759 3.856 13.856C3.759 13.952 3.641 14 3.5 14C3.359 14 3.241 13.952 3.144 13.856C3.048 13.759 3 13.641 3 13.5C3 13.137 3.156 12.777 3.467 12.421C3.701 12.154 4.036 11.875 4.473 11.584C4.82 11.353 5.261 11.094 5.796 10.809C5.951 10.726 6.149 10.623 6.39 10.5C6.149 10.377 5.951 10.274 5.796 10.191C5.261 9.906 4.82 9.647 4.473 9.416C4.036 9.125 3.701 8.846 3.467 8.579C3.156 8.223 3 7.863 3 7.5C3 7.137 3.156 6.777 3.467 6.421C3.701 6.154 4.036 5.875 4.473 5.584C4.82 5.353 5.261 5.094 5.796 4.809C5.951 4.726 6.149 4.623 6.39 4.5C6.149 4.377 5.951 4.274 5.796 4.191C5.261 3.906 4.82 3.647 4.473 3.416C4.036 3.125 3.701 2.846 3.467 2.579C3.156 2.223 3 1.863 3 1.5C3 1.359 3.048 1.241 3.144 1.144C3.241 1.048 3.359 1 3.5 1C3.641 1 3.759 1.048 3.856 1.144C3.952 1.241 4 1.359 4 1.5ZM8.733 5.691C8.461 5.546 8.049 5.335 7.5 5.059C6.951 5.335 6.539 5.546 6.267 5.691C6.065 5.799 5.878 5.902 5.706 6L9.294 6C9.122 5.902 8.935 5.799 8.733 5.691ZM10.675 8.032C10.713 7.994 10.748 7.957 10.78 7.921C10.927 7.753 11 7.613 11 7.5C11 7.387 10.927 7.247 10.78 7.079C10.748 7.043 10.713 7.006 10.675 6.968C10.619 6.989 10.56 7 10.5 7L4.5 7C4.44 7 4.381 6.989 4.325 6.968C4.287 7.006 4.252 7.043 4.22 7.079C4.073 7.247 4 7.387 4 7.5C4 7.613 4.073 7.753 4.22 7.921C4.252 7.957 4.287 7.994 4.325 8.032C4.381 8.011 4.44 8 4.5 8L10.5 8C10.56 8 10.619 8.011 10.675 8.032ZM6.267 9.309C6.539 9.454 6.951 9.665 7.5 9.941C8.049 9.665 8.461 9.454 8.733 9.309C8.935 9.201 9.122 9.098 9.294 9L5.706 9C5.878 9.098 6.065 9.201 6.267 9.309Z" />
    </svg>
  );
}
Vue
Vue: see /icons/dna.md
Svelte
Svelte: see /icons/dna.md
HTML img
HTML img: see /icons/dna.md
CSS
CSS: see /icons/dna.md
Data URL
Data URL: see /icons/dna.md
Sprite
Sprite: see /icons/dna.md
SwiftUI
SwiftUI: see /icons/dna.md
Compose
Compose: see /icons/dna.md
Android XML
Android XML: see /icons/dna.md
Flutter
Flutter: see /icons/dna.md

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

Meaning

Use it for
dna, genetics, genome, heredity, gene, genes, double helix
Tags
dna, genetics, genome, gene, helix, biology, heredity, biotech, sequence
Category
Science & education
Component name
DnaIcon
History
  • added

More science & education icons

For agents

Metadata: /icons/dna.json · Markdown: /icons/dna.md · SVG: https://gentleface.com/svg/{style}/16/dna.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/dna.png

Feedback